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:
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user