aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-09-25 09:51:48 +0000
committerJohn Crispin <blogic@openwrt.org>2012-09-25 09:51:48 +0000
commitcdfbfeaa7ae315cde94f05215a4f85e6b60645d7 (patch)
treec3c60d1075076b478dd73e9981a32bd698860542 /target/linux/ramips/base-files/etc
parent2fce460e3bd91b8f46543dd13ec268634e46b79e (diff)
downloadupstream-cdfbfeaa7ae315cde94f05215a4f85e6b60645d7.tar.gz
upstream-cdfbfeaa7ae315cde94f05215a4f85e6b60645d7.tar.bz2
upstream-cdfbfeaa7ae315cde94f05215a4f85e6b60645d7.zip
[ramips] unbreak port mapping detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33536 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 76c690198e..a30ce0eb3d 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -18,6 +18,7 @@ ramips_setup_rt3x5x_vlans()
fi
local wanports=""
local lanports=""
+ swconfig dev rt305x set reset 1
for port in 5 4 3 2 1 0; do
if [ `swconfig dev rt305x port $port get disable` = "1" ]; then
continue