/usr/bin/poff
Bob
On Mon, 24 Nov 1997 14:16:46 -0900 me <[EMAIL PROTECTED]> wrote:
>
> After starting/quitting minicom, and then finishing internet connection,
> what is the best way to kill pppd without doing a 'kill ' (or the pid
> of pppd? I haven't found that answer anywhere, and I hav
Make a script and put it in your /usr/sbin directory. I have included mine (call
ed: ppp-off) to get you started.
Keith
#!/bin/sh
DEVICE=ppp0
#
# If the ppp0 fpid file is present then the program is running. Stop it.
if [ -r /var/run/$DEVICE.pid ]; then
kill -INT `cat /var/run/$DEVICE.pid
2 matches
Mail list logo