bcm53xx: make use of the new board detection layer

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45458
This commit is contained in:
Felix Fietkau 2015-04-16 12:18:34 +00:00
parent a0ced5164a
commit c64fdadea7

View file

@ -3,11 +3,9 @@
# Copyright (C) 2011 OpenWrt.org # Copyright (C) 2011 OpenWrt.org
# #
[ -e /etc/config/network ] && exit 0 . /lib/functions/uci-defaults-new.sh
touch /etc/config/network board_config_update
. /lib/functions/uci-defaults.sh
ucidef_set_interface_loopback ucidef_set_interface_loopback
@ -32,6 +30,6 @@ else
ucidef_add_switch_vlan "switch0" "2" "4 5t" ucidef_add_switch_vlan "switch0" "2" "4 5t"
fi fi
uci commit network board_config_flush
exit 0 exit 0