aboutsummaryrefslogtreecommitdiffstats
path: root/target
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 /target
parent0de095593195b8c45dcecb4343271afbedce32df (diff)
downloadupstream-d93706154b6dfc70cf3b739ce9845cd7ec32416c.tar.gz
upstream-d93706154b6dfc70cf3b739ce9845cd7ec32416c.tar.bz2
upstream-d93706154b6dfc70cf3b739ce9845cd7ec32416c.zip
ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de> SVN-Revision: 35356
Diffstat (limited to 'target')
-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 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"
;;