projects
/
openwrt
/
staging
/
yousong.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
[openwrt/staging/yousong.git]
/
target
/
linux
/
octeon
/
base-files
/
etc
/
board.d
/
01_network
1
#!/bin/sh
2
#
3
# Copyright (C) 2014-2015 OpenWrt.org
4
#
5
6
.
/
lib
/
function
s
/
uci-defaults.sh
7
8
board_config_update
9
10
case
"$(cat /tmp/sysinfo/board_name)"
in
11
erlite
)
12
ucidef_set_interfaces_lan_wan
"eth0"
"eth1"
13
;;
14
15
*)
16
ucidef_set_interfaces_lan_wan
"eth0"
"eth1"
17
;;
18
esac
19
20
board_config_flush
21
22
exit
0