bcm53xx: make use of the new board detection layer
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45458 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
3ed309fd91
commit
8331de537d
8
target/linux/bcm53xx/base-files/etc/uci-defaults/02_network → target/linux/bcm53xx/base-files/etc/board.d/02_network
Normal file → Executable file
8
target/linux/bcm53xx/base-files/etc/uci-defaults/02_network → target/linux/bcm53xx/base-files/etc/board.d/02_network
Normal file → Executable file
|
@ -3,11 +3,9 @@
|
|||
# Copyright (C) 2011 OpenWrt.org
|
||||
#
|
||||
|
||||
[ -e /etc/config/network ] && exit 0
|
||||
. /lib/functions/uci-defaults-new.sh
|
||||
|
||||
touch /etc/config/network
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
board_config_update
|
||||
|
||||
ucidef_set_interface_loopback
|
||||
|
||||
|
@ -32,6 +30,6 @@ else
|
|||
ucidef_add_switch_vlan "switch0" "2" "4 5t"
|
||||
fi
|
||||
|
||||
uci commit network
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue