Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 1999 12:24:41 -0400
From:      Brandon Fosdick <bfoz@glue.umd.edu>
To:        questions@freebsd.org
Subject:   Script to make ppp hangup?
Message-ID:  <377CE7C9.3E6CC193@glue.umd.edu>

next in thread | raw e-mail | index | archive | help
I want to make a script that runs 'ppp -background' then fetchmail and then
tells ppp to hangup. Currently the only way I know how to make a background ppp
process disconnect is by using kill, but ppp doesn't leave its pid anywhere
(that I can find) so I don't know how the script will know what process to kill.
Is there another way to do this?

Thanks,
Brandon
-- 
bfoz@glue.umd.edu
"Lead, follow, or get run over"
"In life there are those who steer, and those who push"
"I'm not impatient, the world is too slow"
"Life is short, so have fun, play hard, and leave a good looking corpse"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?377CE7C9.3E6CC193>