From: Florian Fainelli Date: Thu, 12 Jan 2006 10:56:09 +0000 (+0000) Subject: Added vlan enabling as suggested in #204, closes #204 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=86534732ef9b6b8e485e064a56620864150f7efb;p=openwrt%2Fstaging%2Frobimarko.git Added vlan enabling as suggested in #204, closes #204 SVN-Revision: 2931 --- diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net index b63eba090b..9a4c450038 100644 --- a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net +++ b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net @@ -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 }