summaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/base-files/etc/board.d/01_network
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/octeon/base-files/etc/board.d/01_network')
-rwxr-xr-xtarget/linux/octeon/base-files/etc/board.d/01_network5
1 files changed, 1 insertions, 4 deletions
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 3c1e843b6c..851b7e8f18 100755
--- 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"
;;