summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-09-25 09:51:48 +0000
committerJohn Crispin <john@openwrt.org>2012-09-25 09:51:48 +0000
commit394a560a9a6adb232bfa3d2f70431bff8ccafb06 (patch)
tree84e79cef12879b243da4a3b83105488b593409ff /target/linux/ramips/base-files
parente70ad61e4451ec23e843ba00365ac7e928392adf (diff)
downloadmtk-20170518-394a560a9a6adb232bfa3d2f70431bff8ccafb06.zip
mtk-20170518-394a560a9a6adb232bfa3d2f70431bff8ccafb06.tar.gz
mtk-20170518-394a560a9a6adb232bfa3d2f70431bff8ccafb06.tar.bz2
unbreak port mapping detection
SVN-Revision: 33536
Diffstat (limited to 'target/linux/ramips/base-files')
-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 76c6901..a30ce0e 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