summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-01-28 17:44:41 +0000
committerJohn Crispin <john@openwrt.org>2013-01-28 17:44:41 +0000
commitd93706154b6dfc70cf3b739ce9845cd7ec32416c (patch)
treec47bdb302dfa6f7b6565b1e1a48223a043f3e545
parent0de095593195b8c45dcecb4343271afbedce32df (diff)
downloadmtk-20170518-d93706154b6dfc70cf3b739ce9845cd7ec32416c.zip
mtk-20170518-d93706154b6dfc70cf3b739ce9845cd7ec32416c.tar.gz
mtk-20170518-d93706154b6dfc70cf3b739ce9845cd7ec32416c.tar.bz2
ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de> SVN-Revision: 35356
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
1 files changed, 1 insertions, 0 deletions
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 a8e5ef9..b9c88e3 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"
;;