ramips: reset switch on single-port devices
authorJohn Crispin <john@openwrt.org>
Mon, 28 Jan 2013 17:44:41 +0000 (17:44 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 28 Jan 2013 17:44:41 +0000 (17:44 +0000)
Signed-off-by: Daniel Gole <dgolle@allnet.de>
SVN-Revision: 35356

target/linux/ramips/base-files/etc/uci-defaults/02_network

index a8e5ef9d7ca52a454cc81cffcb28fac4645833fa..b9c88e352fde1f9add00965c8275a152e9d9d5be 100755 (executable)
@@ -46,6 +46,7 @@ ramips_setup_interfaces()
        all0256n | \
        all5002 | \
        broadway)
+               ucidef_add_switch "switch0" "1" "0"
                ucidef_set_interface_lan "eth0"
                ;;