From: Jo-Philipp Wich Date: Thu, 3 Dec 2015 23:13:00 +0000 (+0000) Subject: all: remove dummy ucidef_set_interface_loopback() from board.d X-Git-Tag: reboot~1317 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=527ec2af59b3979ed2e26fe0d945a9e4ca642603;p=openwrt%2Fopenwrt.git all: remove dummy ucidef_set_interface_loopback() from board.d Signed-off-by: Jo-Philipp Wich SVN-Revision: 47744 --- diff --git a/package/base-files/files/lib/functions/uci-defaults-new.sh b/package/base-files/files/lib/functions/uci-defaults-new.sh index b350549b34..919aac88d3 100755 --- a/package/base-files/files/lib/functions/uci-defaults-new.sh +++ b/package/base-files/files/lib/functions/uci-defaults-new.sh @@ -67,12 +67,6 @@ ucidef_set_model_name() { json_select .. } -ucidef_set_interface_loopback() -{ - # stub - local a="$1" -} - ucidef_set_interface_lan() { json_select_object network _ucidef_set_interface lan "$@" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index dcf0812dbf..296626b422 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -9,8 +9,6 @@ board_config_update -ucidef_set_interface_loopback - board=$(ar71xx_board_name) diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network index 736cdac94a..4402861b04 100755 --- a/target/linux/bcm53xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network @@ -27,8 +27,6 @@ netgear,r8000) ;; esac -ucidef_set_interface_loopback - # Workaround for devices using CPU port 8 (connected to eth2) case "$board" in netgear,r8000) diff --git a/target/linux/brcm2708/base-files/etc/board.d/02_network b/target/linux/brcm2708/base-files/etc/board.d/02_network index e85eb11f88..a05c3d5956 100755 --- a/target/linux/brcm2708/base-files/etc/board.d/02_network +++ b/target/linux/brcm2708/base-files/etc/board.d/02_network @@ -8,8 +8,6 @@ board_config_update -ucidef_set_interface_loopback - board=$(brcm2708_board_name) case "$board" in diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network index ffa3b28d14..b0542302ac 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/02_network +++ b/target/linux/ipq806x/base-files/etc/board.d/02_network @@ -9,8 +9,6 @@ board_config_update -ucidef_set_interface_loopback - board=$(ipq806x_board_name) case "$board" in diff --git a/target/linux/mpc85xx/base-files/etc/board.d/02_network b/target/linux/mpc85xx/base-files/etc/board.d/02_network index f99ce4c20e..ddb67a699a 100755 --- a/target/linux/mpc85xx/base-files/etc/board.d/02_network +++ b/target/linux/mpc85xx/base-files/etc/board.d/02_network @@ -8,8 +8,6 @@ board_config_update -ucidef_set_interface_loopback - board=$(mpc85xx_board_name) case "$board" in diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network index 20cc3f5ccf..ef30a2214d 100755 --- a/target/linux/mvebu/base-files/etc/board.d/02_network +++ b/target/linux/mvebu/base-files/etc/board.d/02_network @@ -8,8 +8,6 @@ board_config_update -ucidef_set_interface_loopback - board=$(mvebu_board_name) case "$board" in diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index f2c0edb576..aee0e724e3 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -32,8 +32,6 @@ ramips_setup_interfaces() { local board="$1" - ucidef_set_interface_loopback - case $board in 3g150b|\ 3g300m|\