aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-29 23:49:04 +0000
committerBill Nottingham <notting@redhat.com>2001-01-29 23:49:04 +0000
commitb42175ccc5ba0f521bc771acd3f0caa6b7aaf5d1 (patch)
tree629a3b690146231f4bb7cbb98ea09edc642a62dd /sysconfig/network-scripts
parent27d66b229b5d34726c50f4ef4b649a6c44331a78 (diff)
downloadinitscripts-b42175ccc5ba0f521bc771acd3f0caa6b7aaf5d1.tar
initscripts-b42175ccc5ba0f521bc771acd3f0caa6b7aaf5d1.tar.gz
initscripts-b42175ccc5ba0f521bc771acd3f0caa6b7aaf5d1.tar.bz2
initscripts-b42175ccc5ba0f521bc771acd3f0caa6b7aaf5d1.tar.xz
initscripts-b42175ccc5ba0f521bc771acd3f0caa6b7aaf5d1.zip
fix redial loop (#17380)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ppp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-ppp b/sysconfig/network-scripts/ifdown-ppp
index e76732b9..b629673c 100755
--- a/sysconfig/network-scripts/ifdown-ppp
+++ b/sysconfig/network-scripts/ifdown-ppp
@@ -7,7 +7,7 @@ cd /etc/sysconfig/network-scripts
CONFIG=$1
source_config
-if [ "${DEMAND}" != no -a -f /var/run/ppp-${DEVICE}.pid ] ; then
+if [ "${DEMAND}" = "yes" -a -f /var/run/ppp-${DEVICE}.pid ] ; then
PID=`head -1 /var/run/ppp-${DEVICE}.pid`
kill -TERM ${PID}
sleep 2