[776] in RedHat Linux List

home help back first fref pref prev next nref lref last post

bug in ifdown-ppp script?

daemon@ATHENA.MIT.EDU (Julien Maillard)
Thu Oct 24 15:13:04 1996

To: redhat-list@redhat.com
Reply-To: maillard@vt.edu
Date: Thu, 24 Oct 1996 15:05:13 -0400
From: Julien Maillard <maillard@tulipe.val.org>
Resent-From: redhat-list@redhat.com

just making sure someone at redhat sees my previous post about this (the 
subject line was not too clear...), so here it is:

i changed the following line in  /etc/sysconfig/network-scripts/ifdown-ppp
--
    pppdpid=`ps aul | awk '$4 ~ /^'"$daemonpid"'$/ {print $3}'`
--
to
--
    pppdpid=`ps aulx | awk '$4 ~ /^'"$daemonpid"'$/ {print $3}'`
--
otherwise ps will not report all processes including the ones that are not 
link 
to a TTY (right?). When running xdm, processes started from tkgoodstuff (and 
fvwm?) will not be listed by 'ps -aul' so that starting ppp this way, the 
ifdown-ppp will not work unless using 'ps -aulx'

Correct me if I'm wrong.

Regards.
- -- 
Julien Maillard                                       maillard@vt.edu
Virginia Tech
                tel: (540) 231 4285,  fax: (540) 231 8836



------- End of Forwarded Message




--
  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


home help back first fref pref prev next nref lref last post