From: Felix Fietkau Date: Thu, 16 Apr 2015 12:18:34 +0000 (+0000) Subject: bcm53xx: make use of the new board detection layer X-Git-Tag: reboot~3279 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=c64fdadea7292bf117668bfe5d254f7c6eeeb62e;p=openwrt%2F.git bcm53xx: make use of the new board detection layer Signed-off-by: Felix Fietkau SVN-Revision: 45458 --- diff --git a/target/linux/bcm53xx/base-files/etc/uci-defaults/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network old mode 100644 new mode 100755 similarity index 88% rename from target/linux/bcm53xx/base-files/etc/uci-defaults/02_network rename to target/linux/bcm53xx/base-files/etc/board.d/02_network index 9ffb427d1c..c36b47ca4d --- a/target/linux/bcm53xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network @@ -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