aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-04-02 21:10:00 +0000
committerBill Nottingham <notting@redhat.com>2001-04-02 21:10:00 +0000
commit7e190b9b89ed92875e47fe98f85280fec70aa03d (patch)
tree45d7c821f554436817479d1f441f0d28fc60add1 /sysconfig
parentc48bf41abf55b5491b00b94fd2115dd6490d1aab (diff)
downloadinitscripts-7e190b9b89ed92875e47fe98f85280fec70aa03d.tar
initscripts-7e190b9b89ed92875e47fe98f85280fec70aa03d.tar.gz
initscripts-7e190b9b89ed92875e47fe98f85280fec70aa03d.tar.bz2
initscripts-7e190b9b89ed92875e47fe98f85280fec70aa03d.tar.xz
initscripts-7e190b9b89ed92875e47fe98f85280fec70aa03d.zip
fix redial loop (#17380)
Diffstat (limited to 'sysconfig')
-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 9ebb8c91..f735dc44 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