On Mon, 22 Feb 1999, Michael Trausch wrote:
> Date: Mon, 22 Feb 1999 14:31:20 -0500 (EST)
> From: Michael Trausch <[EMAIL PROTECTED]>
> To: Michael Stearne <[EMAIL PROTECTED]>
> Cc: Linux Net <[EMAIL PROTECTED]>,
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: Re: How Do I hang Up?
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> A simple way to do this that I can think of is to do this:
>
> $ ps ax | grep pppd
>
Try this trivial script:
[root@beta linux]# cat /usr/local/bin/hangup
#!/bin/sh
# Drop the PPP connection.
[ -r /var/run/ppp0.pid ] && kill -1 `cat /var/run/ppp0.pid`
[root@beta linux]#
Donald Becker [EMAIL PROTECTED]
USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center, Greenbelt, MD. 20771
301-286-0882 http://cesdis.gsfc.nasa.gov/people/becker/whoiam.html