summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.8
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-02-22 14:14:46 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-02-22 14:14:46 +0000
commitcf005af52eb81a65e78196c4f59e9e9741f973f6 (patch)
treec2469d48d8a4e2d4d5240c4261213dd5873e61ea /sbin/dhclient/dhclient.8
parent7d439e44d0a6869b013f0289d8f832f07ffd4626 (diff)
Document signals dhclient currently pays attention to.
Much help from jmc@, positive feedback from sthen@
Diffstat (limited to 'sbin/dhclient/dhclient.8')
-rw-r--r--sbin/dhclient/dhclient.837
1 files changed, 35 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.8 b/sbin/dhclient/dhclient.8
index 4436af840ac..2dd45b39e61 100644
--- a/sbin/dhclient/dhclient.8
+++ b/sbin/dhclient/dhclient.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dhclient.8,v 1.16 2013/02/09 23:37:21 krw Exp $
+.\" $OpenBSD: dhclient.8,v 1.17 2013/02/22 14:14:45 krw Exp $
.\"
.\" Copyright (c) 1997 The Internet Software Consortium.
.\" All rights reserved.
@@ -35,7 +35,7 @@
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
-.Dd $Mdocdate: February 9 2013 $
+.Dd $Mdocdate: February 22 2013 $
.Dt DHCLIENT 8
.Os
.Sh NAME
@@ -192,6 +192,39 @@ file for each broadcast network interface.
See
.Xr bpf 4
for more information.
+.Sh SIGNALS
+While running,
+.Nm
+reacts to a few different signals:
+.Bl -tag -width "USR[12]XXX"
+.It Dv HUP
+On receiving
+.Dv HUP
+.Nm
+will restart itself, reading
+.Xr dhclient.conf 5
+and obtaining a new lease.
+.It Dv USR[12]
+On receiving either
+.Dv USR1
+or
+.Dv USR2 ,
+.Nm
+will exit after attempting to remove any routes, interface addresses
+or temporary files it created.
+.It Dv TERM
+On receiving
+.Dv TERM
+.Nm
+will exit without attempting to remove any routes, interface addresses
+or temporary files it created.
+.It Dv QUIT
+On receiving
+.Dv QUIT
+.Nm
+will dump core and exit without attempting to remove any routes, interface
+addresses or temporary files it created.
+.El
.Sh FILES
.Bl -tag -width "/var/db/dhclient.leases.<IFNAME>XXX" -compact
.It Pa /etc/dhclient.conf