diff options
author | brian <brian@FreeBSD.org> | 1997-07-01 21:31:28 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-07-01 21:31:28 +0000 |
commit | 067015aaaee82b76de0d5b02d8947bd837c5b395 (patch) | |
tree | 0b553b7ea2fc6bd68ca1cff748d026ade2432cdb /usr.sbin/ppp/ppp.8.m4 | |
parent | 87c1696b92a3f849fe7793a676228df4eeae1e4d (diff) | |
download | FreeBSD-src-067015aaaee82b76de0d5b02d8947bd837c5b395.zip FreeBSD-src-067015aaaee82b76de0d5b02d8947bd837c5b395.tar.gz |
Make HUP cause an exit (as it used to), and make
INT cause a hangup - not exiting for -ddial & -auto.
HUP must exit because init sends this at system shutdown
time (why, I don't know), and we don't want to end up
redialing after the HUP (due to another dfilter packet).
Pointed out by and discussed with: ache
Diffstat (limited to 'usr.sbin/ppp/ppp.8.m4')
-rw-r--r-- | usr.sbin/ppp/ppp.8.m4 | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4 index 94b19d9..96fd1c3 100644 --- a/usr.sbin/ppp/ppp.8.m4 +++ b/usr.sbin/ppp/ppp.8.m4 @@ -1,4 +1,4 @@ -.\" $Id: ppp.8,v 1.42 1997/06/25 19:30:03 brian Exp $ +.\" $Id: ppp.8,v 1.43 1997/06/30 03:03:35 brian Exp $ .Dd 20 September 1995 .Os FreeBSD .Dt PPP 8 @@ -1267,7 +1267,7 @@ using deals with the following signals: .Bl -tag -width 20 -.It HUP +.It INT Receipt of this signal causes the termination of the current connection (if any). This will cause .Nm @@ -1275,25 +1275,9 @@ to exit unless it is in .Fl auto or .Fl ddial -mode. It should be noted that unless in -.Fl direct -mode, -.Nm -does not have a controlling terminal and therefore doesn't receive -this signal on loss of carrier. Instead, it monitors the line -directly for loss of carrier. - -.It INT -This signal will normally terminate -.Nm ppp . -If, however, -.Nm -is in interactive mode this signal will be ignored except when dialing. -When dialing, the signal causes -.Nm -to abort dialing and return to the command prompt. +mode. -.It TERM & QUIT +.It HUP, TERM & QUIT These signals tell .Nm to exit. |