summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-12 10:56:09 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-12 10:56:09 +0000
commitbd695d698bcd07eccf00dc8f7127212c93f9d65b (patch)
treea3e3605e291ce343304bc9dbfb3e8eb08bc4e3ab /openwrt/package
parent36688127614065d773f6d449bac66189ecf87124 (diff)
Added vlan enabling as suggested in #204, closes #204
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2931 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/base-files/default/etc/hotplug.d/net/10-net1
1 files changed, 1 insertions, 0 deletions
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
}