aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-29 22:58:43 +0000
committerBill Nottingham <notting@redhat.com>2001-01-29 22:58:43 +0000
commit48308fb5d11f1b7a55cbeb3127ec0d549cc0440e (patch)
tree1e1bf5635a9c739bf15104560942faf9750ccc38 /sysconfig/network-scripts
parent5a6393159db215f4dcaadfa1dc1fb388634bc6ec (diff)
downloadinitscripts-48308fb5d11f1b7a55cbeb3127ec0d549cc0440e.tar
initscripts-48308fb5d11f1b7a55cbeb3127ec0d549cc0440e.tar.gz
initscripts-48308fb5d11f1b7a55cbeb3127ec0d549cc0440e.tar.bz2
initscripts-48308fb5d11f1b7a55cbeb3127ec0d549cc0440e.tar.xz
initscripts-48308fb5d11f1b7a55cbeb3127ec0d549cc0440e.zip
don't ignore RETRYTIMEOUT when we never connect (#14701)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ppp7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-ppp b/sysconfig/network-scripts/ifdown-ppp
index 9ebb8c91..e76732b9 100755
--- a/sysconfig/network-scripts/ifdown-ppp
+++ b/sysconfig/network-scripts/ifdown-ppp
@@ -12,8 +12,9 @@ if [ "${DEMAND}" != no -a -f /var/run/ppp-${DEVICE}.pid ] ; then
kill -TERM ${PID}
sleep 2
[ ! -d /proc/${PID} ] && exit 0
+ sleep 5
+ [ ! -d /proc/${PID} ] && exit 0
kill -TERM ${PID}
- sleep 2
[ ! -d /proc/${PID} ] && exit 0
exit 1
fi
@@ -32,6 +33,10 @@ kill -TERM ${PID} > /dev/null 2>&1
[ ! -d /proc/${PID} ] && exit 0
sleep 2
[ ! -d /proc/${PID} ] && exit 0
+sleep 5
+[ ! -d /proc/${PID} ] && exit 0
+sleep 10
+[ ! -d /proc/${PID} ] && exit 0
# killing ppp-watch twice in a row causes it to send a SIGKILL to pppd pgrp
kill -TERM ${PID} > /dev/null 2>&1