ramips: reset switch on single-port devices
authorJohn Crispin <blogic@openwrt.org>
Mon, 28 Jan 2013 17:44:41 +0000 (17:44 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 28 Jan 2013 17:44:41 +0000 (17:44 +0000)
Signed-off-by: Daniel Gole <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35356 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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