aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-01-28 17:44:41 +0000
committerJohn Crispin <blogic@openwrt.org>2013-01-28 17:44:41 +0000
commite2bc9a837ca5ad683ea6bcfb7f9004b6bec079fc (patch)
tree83167f48a084f78ea44c18ad8daa598a5b7b4b60 /target/linux/ramips
parentd9ec668adbd6d455932b0a56a2eb7c4dabfa0770 (diff)
downloadupstream-e2bc9a837ca5ad683ea6bcfb7f9004b6bec079fc.tar.gz
upstream-e2bc9a837ca5ad683ea6bcfb7f9004b6bec079fc.tar.bz2
upstream-e2bc9a837ca5ad683ea6bcfb7f9004b6bec079fc.zip
ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35356 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-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"
;;