Date: Tue, 28 Jan 1997 12:54:59 +1100 (EST) From: "Daniel O'Callaghan" <danny@panda.hilink.com.au> To: Brian Somers <brian@awfulhak.demon.co.uk> Cc: fredriks@mcs.com, hackers@freebsd.org Subject: Re: Modifications to pppd to make it log connecton times Message-ID: <Pine.BSF.3.91.970128125300.13981X-100000@panda.hilink.com.au> In-Reply-To: <199701280101.BAA19092@awfulhak.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Jan 1997, Brian Somers wrote: > > Hi, > > Here are context diffs to pppd that makes pppd log the total > > time in minutes that it has been connected(similar to what ppp does). > > I don't know if I have caught every way pppd can exit(it obviously > > doesn't do this if it dumps core or the machine panics) to make sure > > the data is printed out, but it does work for the normal cases for sure. > [.....] I did this using an external program. The user's login shell is a Bourne shell script with a 'checkin' facility, run before execing pppd. Getty is run from a script which has a 'checkout' facility. That way, whenever pppd exits, and getty is run, the user on that tty is checked out. Danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970128125300.13981X-100000>