mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-13 06:22:51 +02:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2931 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3668812761
commit
bd695d698b
@ -22,6 +22,7 @@ setup_eth()
|
|||||||
vports="$(nvram get vlan${vlan}ports)"
|
vports="$(nvram get vlan${vlan}ports)"
|
||||||
[ \! -z "$vports" -a -d "/proc/switch/$INTERFACE" ] && \
|
[ \! -z "$vports" -a -d "/proc/switch/$INTERFACE" ] && \
|
||||||
echo "$vports" > "/proc/switch/$INTERFACE/vlan/$vlan/ports"
|
echo "$vports" > "/proc/switch/$INTERFACE/vlan/$vlan/ports"
|
||||||
|
echo "1" > "/proc/switch/$INTERFACE/enable_vlan"
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user