From: John Crispin Date: Mon, 28 Jan 2013 17:44:41 +0000 (+0000) Subject: ramips: reset switch on single-port devices X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d93706154b6dfc70cf3b739ce9845cd7ec32416c;p=openwrt%2Fstaging%2Fynezz.git ramips: reset switch on single-port devices Signed-off-by: Daniel Gole SVN-Revision: 35356 --- diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network index a8e5ef9d7c..b9c88e352f 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -46,6 +46,7 @@ ramips_setup_interfaces() all0256n | \ all5002 | \ broadway) + ucidef_add_switch "switch0" "1" "0" ucidef_set_interface_lan "eth0" ;;