[ramips] unbreak port mapping detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33536 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
2fce460e3b
commit
cdfbfeaa7a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue