diff options
author | Michael K. Johnson <johnsonm@redhat.com> | 1997-10-14 18:03:53 +0000 |
---|---|---|
committer | Michael K. Johnson <johnsonm@redhat.com> | 1997-10-14 18:03:53 +0000 |
commit | 944bddc860ef9a77188fb63397b7e772ff21bab9 (patch) | |
tree | d864a3daeb14df7157e0acab69dc243d33be8ef4 /sysconfig/network-scripts/ifup-ppp | |
parent | 38208d5c274740eeae0146faf0f44778ca53c98a (diff) | |
download | initscripts-944bddc860ef9a77188fb63397b7e772ff21bab9.tar initscripts-944bddc860ef9a77188fb63397b7e772ff21bab9.tar.gz initscripts-944bddc860ef9a77188fb63397b7e772ff21bab9.tar.bz2 initscripts-944bddc860ef9a77188fb63397b7e772ff21bab9.tar.xz initscripts-944bddc860ef9a77188fb63397b7e772ff21bab9.zip |
Die if ifdown-ppp was called on the device during the sleep.
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ppp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index 3b655245..9f57d838 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -111,4 +111,9 @@ while : ; do # sleep was killed exit 0 } + + # exit if our lock file disappeared while we slept + if [ ! -f /var/run/ppp-$DEVICE.dev ]; then + exit 0 + fi done |