aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp5
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