Added vlan enabling as suggested in #204, closes #204
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Jan 2006 10:56:09 +0000 (10:56 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Jan 2006 10:56:09 +0000 (10:56 +0000)
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

index b63eba0..9a4c450 100644 (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
 }
This page took 0.027154 seconds and 4 git commands to generate.