projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
[openwrt/staging/wigyori.git]
/
target
/
linux
/
octeon
/
base-files
/
etc
/
board.d
/
01_network
diff --git
a/target/linux/octeon/base-files/etc/board.d/01_network
b/target/linux/octeon/base-files/etc/board.d/01_network
index 3c1e843b6c9163078db325e7df5f2b583b79ceeb..851b7e8f184b5eef4032da9223ed21f65f34ebcc 100755
(executable)
--- a/
target/linux/octeon/base-files/etc/board.d/01_network
+++ b/
target/linux/octeon/base-files/etc/board.d/01_network
@@
-4,13
+4,10
@@
#
. /lib/functions/uci-defaults.sh
-. /lib/functions/octeon.sh
board_config_update
-board=$(octeon_board_name)
-
-case "$board" in
+case "$(cat /tmp/sysinfo/board_name)" in
erlite)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;