Added vlan enabling as suggested in #204, closes #204

SVN-Revision: 2931
lede-17.01
Florian Fainelli 2006-01-12 10:56:09 +00:00
parent 6638e39800
commit 86534732ef
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ setup_eth()
vports="$(nvram get vlan${vlan}ports)"
[ \! -z "$vports" -a -d "/proc/switch/$INTERFACE" ] && \
echo "$vports" > "/proc/switch/$INTERFACE/vlan/$vlan/ports"
echo "1" > "/proc/switch/$INTERFACE/enable_vlan"
}
done
}