Commits

Anonymous committed 2a69ff9

Attempt a short explanation of what happens on start up and when
external configuration occurs on a interface with an associated
dhclient. Also add INT to SIGNALS section and alphabetize the
list of signals.

Tweaks from & ok jmc@.

  • Participants
  • Parent commits b21f8a5

Comments (0)

Files changed (1)

File sbin/dhclient/dhclient.8

-.\" $OpenBSD: dhclient.8,v 1.17 2013/02/22 14:14:45 krw Exp $
+.\" $OpenBSD: dhclient.8,v 1.18 2013/02/22 22:28:15 krw Exp $
 .\"
 .\" Copyright (c) 1997 The Internet Software Consortium.
 .\" All rights reserved.
 .Nm
 will exit with an error.
 .Pp
+When configuring the interface,
+.Nm
+attempts to remove any existing addresses, gateway routes that use
+the interface and non-permanent
+.Xr arp 8
+entries.
+Conversely, if the interface is later manipulated to add or delete
+addresses then
+.Nm
+will automatically exit.
+It thus automatically exits whenever a new
+.Nm
+is run on the same interface.
+.Pp
 In order to keep track of leases across system reboots and server
 restarts,
 .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 ,
+.It Dv INT
+On receiving
+.Dv INT
 .Nm
 will exit after 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.
 .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
+.It Dv USR[12]
+On receiving either
+.Dv USR1
+or
+.Dv USR2 ,
 .Nm
-will dump core and exit without attempting to remove any routes, interface
-addresses or temporary files it created.
+will exit after 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