aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-ppp
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1998-07-07 15:42:50 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1998-07-07 15:42:50 +0000
commitfd1aff4a5f20402d9054b12f3800303eca7a3c83 (patch)
tree3c9fcc74479311c5e8486c6166a47700a80b1b56 /sysconfig/network-scripts/ifdown-ppp
parentd0120de85e2f97bc7a4b3715e6b4600c850cdd26 (diff)
downloadinitscripts-fd1aff4a5f20402d9054b12f3800303eca7a3c83.tar
initscripts-fd1aff4a5f20402d9054b12f3800303eca7a3c83.tar.gz
initscripts-fd1aff4a5f20402d9054b12f3800303eca7a3c83.tar.bz2
initscripts-fd1aff4a5f20402d9054b12f3800303eca7a3c83.tar.xz
initscripts-fd1aff4a5f20402d9054b12f3800303eca7a3c83.zip
fix long-standing bug and work with (currently vaporware) newer ps versions
Diffstat (limited to 'sysconfig/network-scripts/ifdown-ppp')
-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 5faf753e..7fa0cf5f 100755
--- a/sysconfig/network-scripts/ifdown-ppp
+++ b/sysconfig/network-scripts/ifdown-ppp
@@ -30,7 +30,7 @@ fi
# pppd might have chat as a child; remember chat's pid to kill after pppd.
# (After, not before, so that pppd doesn't just restart it).
-CHATPID=`ps aul | awk '$4 ~ $PID {print $3}' 2>/dev/null`
+CHATPID=`ps axl | awk '$4 ~ $PID {print $3}' 2>/dev/null`
kill $PID > /dev/null 2>&1
[ -n "$CHATPID" ] && kill $CHATPID > /dev/null 2>&1