diff options
author | Bill Nottingham <notting@redhat.com> | 2002-08-21 03:44:34 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-08-21 03:44:34 +0000 |
commit | 270c027bb45f687ff3c9b5264acfd4e093d2108a (patch) | |
tree | debb53aa5a44416013d16192108b2bfbfb2a824c /sysconfig | |
parent | d6a61bedcc5689156fd60da78b0c63eb88535678 (diff) | |
download | initscripts-270c027bb45f687ff3c9b5264acfd4e093d2108a.tar initscripts-270c027bb45f687ff3c9b5264acfd4e093d2108a.tar.gz initscripts-270c027bb45f687ff3c9b5264acfd4e093d2108a.tar.bz2 initscripts-270c027bb45f687ff3c9b5264acfd4e093d2108a.tar.xz initscripts-270c027bb45f687ff3c9b5264acfd4e093d2108a.zip |
actually pass the device name to the first mii-tool call (#72016,#68127)
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 57e47f23..ad9e40d3 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -134,7 +134,7 @@ check_link_down () LC_ALL=C ip link show $1 2>/dev/null| grep -q UP || ip link set $1 up >/dev/null 2>&1 # wait for link to come up sleep 5 - /sbin/mii-tool >/dev/null 2>&1 || return 1 + /sbin/mii-tool $1 >/dev/null 2>&1 || return 1 output=`LC_ALL=C /sbin/mii-tool $1 2>&1` if echo $output | grep -q "Operation not supported"; then return 1 |