fix typos (#260)
[openwrt.git] / openwrt / target / linux / package / base-files / files / brcm-2.4 / etc / hotplug.d / net / 09-net
index 75604eb..6821bf7 100644 (file)
@@ -17,6 +17,7 @@ setup_eth()
        if="$(echo "$INTERFACE" | sed s,eth,et,)"
        ifconfig "$INTERFACE" up 2>&- >&-
        [ -d "/proc/switch/$INTERFACE" ] || return 0
        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" ] && {
        echo "1" > "/proc/switch/$INTERFACE/enable_vlan"
        for vlan in $(seq 0 15); do
                [ "$(nvram get vlan${vlan}hwname)" = "$if" ] && {
This page took 0.024443 seconds and 4 git commands to generate.