aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-ppp
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-09-08 20:14:38 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-09-08 20:14:38 +0000
commit40ecc9bedb8b80aea208404be2c9eb23fa52ff55 (patch)
treed171e3319033fae76fe800e9bd4f3a1a04392916 /sysconfig/network-scripts/ifdown-ppp
parent8f705efdedc37e43620b8ec88f9b156f85a1f2d0 (diff)
downloadinitscripts-40ecc9bedb8b80aea208404be2c9eb23fa52ff55.tar
initscripts-40ecc9bedb8b80aea208404be2c9eb23fa52ff55.tar.gz
initscripts-40ecc9bedb8b80aea208404be2c9eb23fa52ff55.tar.bz2
initscripts-40ecc9bedb8b80aea208404be2c9eb23fa52ff55.tar.xz
initscripts-40ecc9bedb8b80aea208404be2c9eb23fa52ff55.zip
make ifdown synchronous modulo timeout
Diffstat (limited to 'sysconfig/network-scripts/ifdown-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ppp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifdown-ppp b/sysconfig/network-scripts/ifdown-ppp
index 2e56b0c0..3265c72d 100755
--- a/sysconfig/network-scripts/ifdown-ppp
+++ b/sysconfig/network-scripts/ifdown-ppp
@@ -26,5 +26,6 @@ sleep 2
kill -TERM $PID > /dev/null 2>&1
# ip-down won't run in this case
/etc/sysconfig/network-scripts/ifdown-post $1
+[ ! -d /proc/$PID ] && exit 0
exit 1