From 001c1d72f09c2145244816728d1700eca653af6d Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 12 Jan 2006 10:56:09 +0000 Subject: Added vlan enabling as suggested in #204, closes #204 git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2931 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/default/etc/hotplug.d/net/10-net | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/default/etc') diff --git a/package/base-files/default/etc/hotplug.d/net/10-net b/package/base-files/default/etc/hotplug.d/net/10-net index b63eba090..9a4c45003 100644 --- a/package/base-files/default/etc/hotplug.d/net/10-net +++ b/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 } -- cgit v1.2.3