Date: Wed, 8 Feb 1995 06:40:45 +1100 From: Bruce Evans <bde@zeta.org.au> To: peter@bonkers.taronga.com, ponds!rivers@dg-rtp.dg.com, terry@cs.weber.edu Cc: freebsd-hackers@wcarchive.cdrom.com, longyear@netcom.com, rivers@dg-rtp.dg.com Subject: Re: chat(8) improvements for SL/IP dialout. Message-ID: <199502071940.GAA02368@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Let me add some motivation to this (because, I could have simply used >the -r and -z flags on slattach.) > My internet provider charges by the minute, thus, I'd like to connect >to the modem and *not* redial. (Hmmm... perhaps a flag on slattach >that says "this is how to dial the first time, but don't bother redialing >if Carrier Detect goes down".) I prefer this. > So, I had planned on doing: > chat -c "slattach ..." ... > > to start the connection, (setting the modem to disconnect after a minute >of no activity). Have sendmail do its thing, then when the modem disconnects, >use the slattach option to run the "shutdown-the-link" script. Thus, >since the shutdown-the-link script would have to go find the sleep and >kill it, I didn't like that idea. Slattach is supposed to shut down the link when it is killed by a SIGHUP and it was invoked without -r. However, this is broken in 2.0R and -current. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502071940.GAA02368>