From 270c027bb45f687ff3c9b5264acfd4e093d2108a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 21 Aug 2002 03:44:34 +0000 Subject: actually pass the device name to the first mii-tool call (#72016,#68127) --- sysconfig/network-scripts/network-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts') 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 -- cgit v1.2.1