Date: Tue, 10 Jun 1997 09:13:50 -0400 From: Matthew Hunt <mph@astro.psu.edu> To: Jason McKay <jasonm@homer.argo.net.au> Cc: questions@freebsd.org Subject: Re: Disconnecting for FreeBSD Message-ID: <19970610091350.23696@astro.psu.edu> In-Reply-To: <Pine.BSF.3.96.970610200906.3421A-100000@homer.argo.net.au>; from Jason McKay on Tue, Jun 10, 1997 at 08:10:19PM %2B0800 References: <Pine.BSF.3.96.970610200906.3421A-100000@homer.argo.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 10, 1997 at 08:10:19PM +0800, Jason McKay wrote: > When a dial-up user types "exit" to logoff, it only returns them to the > login prompt. How do we make FreeBSD hang up the modem once 'exit' is > entered? I don't know exactly how you are starting ppp or pppd, but presumably you are somehow running it from the shell or a shell script. Instead of just running it as "ppp" or "pppd" use "exec ppp" or "exec pppd". "exec" replaces the shell with the program that you are running.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970610091350.23696>