2
0
forked from Ivasoft/openwrt

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
This commit is contained in:
Felix Fietkau
2016-01-29 23:19:41 +00:00
parent f32de94e0a
commit beda11255b
5 changed files with 36 additions and 64 deletions

View File

@@ -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"
;;