diff options
-rwxr-xr-x | sysconfig/network-scripts/ifup-ctc | 2 | ||||
-rw-r--r-- | sysconfig/network-scripts/ifup-escon | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-ctc b/sysconfig/network-scripts/ifup-ctc index 56cb490e..98be8223 100755 --- a/sysconfig/network-scripts/ifup-ctc +++ b/sysconfig/network-scripts/ifup-ctc @@ -29,7 +29,7 @@ ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} # Wait for the device to come up - the chandev'ified ctc driver can take # quite a while... timeout=0 -while ! ping -w 30 -c ${REMIP} &>/dev/null; do +while ! ping -w 30 -c 1 ${REMIP} &>/dev/null; do timeout=$(($timeout + 1)) if [ $timeout = 20 ]; then echo $"ERROR: ${DEVICE} did not come up!" diff --git a/sysconfig/network-scripts/ifup-escon b/sysconfig/network-scripts/ifup-escon index f8cfc101..1e29840b 100644 --- a/sysconfig/network-scripts/ifup-escon +++ b/sysconfig/network-scripts/ifup-escon @@ -30,7 +30,7 @@ ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} # Wait for the device to come up - the chandev'ified ctc driver can take # quite a while... timeout=0 -while ! ping -w 30 -c ${REMIP} &>/dev/null; do +while ! ping -w 30 -c 1 ${REMIP} &>/dev/null; do timeout=$(($timeout + 1)) if [ $timeout = 20 ]; then echo $"ERROR: ${DEVICE} did not come up!" |