unbreak port mapping detection

SVN-Revision: 33536
This commit is contained in:
John Crispin 2012-09-25 09:51:48 +00:00
parent e70ad61e44
commit 394a560a9a

View File

@ -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