diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-26 16:09:58 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-26 16:09:58 +0000 |
commit | e2a1e7e70317ae7ab045dbdcbf8ff41202679d11 (patch) | |
tree | 03e7fd0b78cdc30b1977a65559634ed69319ee3c /target/linux/package/base-files/files/brcm-2.6/etc/hotplug.d | |
parent | aae5f4a475040f19d3afbf31eba4df2d463043de (diff) |
issue switch reset when bringing up the ethernet device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3047 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/base-files/files/brcm-2.6/etc/hotplug.d')
-rw-r--r-- | target/linux/package/base-files/files/brcm-2.6/etc/hotplug.d/net/09-net | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/package/base-files/files/brcm-2.6/etc/hotplug.d/net/09-net b/target/linux/package/base-files/files/brcm-2.6/etc/hotplug.d/net/09-net index 5e941e5a7..8670bb4b3 100644 --- a/target/linux/package/base-files/files/brcm-2.6/etc/hotplug.d/net/09-net +++ b/target/linux/package/base-files/files/brcm-2.6/etc/hotplug.d/net/09-net @@ -11,6 +11,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" ] && { |