summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/base-files/default/etc/hotplug.d/net/10-net1
1 files changed, 1 insertions, 0 deletions
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
}