diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-29 23:19:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-29 23:19:41 +0000 |
commit | beda11255b27d2ec089aae4d8248000f213d323b (patch) | |
tree | 0104bf6230cdda52838c7b268f0eb5f1eeba5e0e /target/linux/octeon/base-files/etc/board.d/01_network | |
parent | f32de94e0a46e06586dfd4066465a9425fa64304 (diff) | |
download | upstream-beda11255b27d2ec089aae4d8248000f213d323b.tar.gz upstream-beda11255b27d2ec089aae4d8248000f213d323b.tar.bz2 upstream-beda11255b27d2ec089aae4d8248000f213d323b.zip |
octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
Fixes sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48558
Diffstat (limited to 'target/linux/octeon/base-files/etc/board.d/01_network')
-rwxr-xr-x | target/linux/octeon/base-files/etc/board.d/01_network | 5 |
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" ;; |