aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2001-10-23 10:30:45 +0000
committerKarsten Hopp <karsten@redhat.com>2001-10-23 10:30:45 +0000
commit451c892796f8ed5f351a702d1debfc89c7c1e44f (patch)
tree8400eab46e188ce19d4cc5f4848ff86cb7bd1fe7
parent907c0a7aa8c3af95010d5282d75b7c23af5f5a24 (diff)
downloadinitscripts-451c892796f8ed5f351a702d1debfc89c7c1e44f.tar
initscripts-451c892796f8ed5f351a702d1debfc89c7c1e44f.tar.gz
initscripts-451c892796f8ed5f351a702d1debfc89c7c1e44f.tar.bz2
initscripts-451c892796f8ed5f351a702d1debfc89c7c1e44f.tar.xz
initscripts-451c892796f8ed5f351a702d1debfc89c7c1e44f.zip
missing parameter (S/390)
-rwxr-xr-xsysconfig/network-scripts/ifup-ctc2
-rw-r--r--sysconfig/network-scripts/ifup-escon2
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!"