Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 1996 16:26:32 -0400 (EDT)
From:      Matt Braithwaite <m-braithwaite@sjca.edu>
To:        freebsd-questions@freebsd.org
Subject:   programs that run after mgetty don't die on hangup
Message-ID:  <199610042026.QAA12144@whorfin.sjca.edu>

next in thread | raw e-mail | index | archive | help
hello,

i observed the following problem in experimenting with mgetty:
although mgetty detects modem hangups and dies, programs it spawns do
not.  they linger indefinitely after a carrier drop.  this includes
login, pppd, and the shell.

this is not the case with regular getty---programs spawned by it get a
SIGHUP and die instantly.

i'd be grateful for any suggestions on this one---i really want to get
auto-ppp working. :-)

-- 
Matt Braithwaite m-braithwaite@sjca.edu http://www.sjca.edu/ph/m-braithwaite
HAVE *YOU* EXPORTED A CRYPTO SYSTEM TODAY? --> http://dcs.ex.ac.uk/~aba/x.html
#!/usr/local/bin/perl -s-- -export-a-crypto-system-sig -RSA-in-3-lines-PERL
($k,$n)=@ARGV;$m=unpack(H.$w,$m."\0"x$w),$_=`echo "16do$w 2+4Oi0$d*-^1[d2%
Sa2/d0<X+d*La1=z\U$n%0]SX$k"[$m*]\EszlXx++p|dc`,s/^.|\W//g,print pack('H*'
,$_)while read(STDIN,$m,($w=2*$d-1+length($n||die"$0 [-d] k n\n")&~1)/2)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610042026.QAA12144>