From 944bddc860ef9a77188fb63397b7e772ff21bab9 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Tue, 14 Oct 1997 18:03:53 +0000 Subject: Die if ifdown-ppp was called on the device during the sleep. --- sysconfig/network-scripts/ifup-ppp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysconfig') 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 -- cgit v1.2.1