[592] in RedHat Linux List
[followup] kill pppd does not hang up modem
daemon@ATHENA.MIT.EDU (Julien Maillard)
Wed Oct 23 15:33:05 1996
To: redhat-list@redhat.com
Reply-To: maillard@vt.edu
Date: Wed, 23 Oct 1996 15:28:23 -0400
From: Julien Maillard <maillard@tulipe.val.org>
Resent-From: redhat-list@redhat.com
[followup of my previous post]
trying to figure out what was going on, it turns out that the line:
pppdpid=`ps aul | awk '$4 ~ /^'"$daemonpid"'$/ {print $3}'`
in /etc/sysconfig/network-scripts/ifdown-ppp should be (here on my system at
least, correct me if i'm wrong):
pppdpid=`ps aulx | awk '$4 ~ /^'"$daemonpid"'$/ {print $3}'`
otherwise ps wil not report all processes including the ones that are not link
to a TTY (right?) which is the case for processes started from tkgoodstuff
when running xdm i guess... anyway, is this a bug? or is there a better way
arround this. The above change works for me at least.
Regards.
--
Julien Maillard maillard@vt.edu
Virginia Tech
tel: (540) 231 4285, fax: (540) 231 8836
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null