diff options
author | Bill Nottingham <notting@redhat.com> | 2001-04-02 21:10:00 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-04-02 21:10:00 +0000 |
commit | 7e190b9b89ed92875e47fe98f85280fec70aa03d (patch) | |
tree | 45d7c821f554436817479d1f441f0d28fc60add1 /sysconfig | |
parent | c48bf41abf55b5491b00b94fd2115dd6490d1aab (diff) | |
download | initscripts-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-x | sysconfig/network-scripts/ifdown-ppp | 2 |
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 |