X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/b651ae2a92679b7df2a4560350c3fb0728f6a705..b74cd7490e2370ad7369bcb166c876788fcc33e1:/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/hotplug.d/net/09-net diff --git a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/hotplug.d/net/09-net b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/hotplug.d/net/09-net index 75604ebef..6821bf728 100644 --- a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/hotplug.d/net/09-net +++ b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/hotplug.d/net/09-net @@ -17,6 +17,7 @@ setup_eth() if="$(echo "$INTERFACE" | sed s,eth,et,)" ifconfig "$INTERFACE" up 2>&- >&- [ -d "/proc/switch/$INTERFACE" ] || return 0 + echo "1" > "/proc/switch/$INTERFACE/reset" echo "1" > "/proc/switch/$INTERFACE/enable_vlan" for vlan in $(seq 0 15); do [ "$(nvram get vlan${vlan}hwname)" = "$if" ] && {