From beda11255b27d2ec089aae4d8248000f213d323b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Jan 2016 23:19:41 +0000 Subject: octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly Fixes sysupgrade Signed-off-by: Felix Fietkau SVN-Revision: 48558 --- target/linux/octeon/base-files/etc/board.d/01_network | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '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 3c1e843..851b7e8 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" ;; -- cgit v1.1