.Os
.Sh NAME
.Nm dhcpcd-run-hooks
-.Nd DHCP client configuration script
+.Nd DHCP client configuration script
.Sh DESCRIPTION
.Nm
is used by
to run any system and user defined hook scripts.
System hook scripts are found in
.Pa @HOOKDIR@
-and the user defined hooks are
+and the user defined hooks are
.Pa @SYSCONFDIR@/dhcpcd.enter-hook .
and
.Pa @SYSCONFDIR@/dhcpcd.exit-hook .
Static configuration and DHCP INFORM is still allowed.
.It Dv STOP
dhcpcd stopped running on the interface.
-.iT Dv DUMP
+.It Dv DUMP
dhcpcd has been asked to dump the last lease for the interface.
.It Dv TEST
dhcpcd received an OFFER from a DHCP server but will not configure the
This is primarily used to test the variables are filled correctly for the
script to process them.
.El
-.Sh FILES
+.Sh FILES
When
.Nm
runs, it loads
.Li RFC 2131 .
.Nm
gets the host information
-.Po
+.Po
IP address, routes, etc
.Pc
from a DHCP server and configures the network
.Ar interface
of the
-machine on which it is running.
+machine on which it is running.
.Nm
then runs the configuration script which writes DNS information to
.Xr resolvconf 8 ,
.Pp
Interfaces are preferred by carrier, DHCP lease/IPv4LL and then lowest metric.
For systems that support route metrics, each route will be tagged with the
-metric, otherwise
+metric, otherwise
.Nm
changes the routes to use the interface with the same route and the lowest
metric.
A setting of 0 seconds causes
.Nm
to skip the reboot phase and go straight into discover.
-.It Fl D , -duid
+.It Fl D , -duid
Generate an
.Li RFC 4361
compliant clientid.