diff options
-rw-r--r-- | contrib/isc-dhcp/client/dhclient.8 | 60 |
1 files changed, 39 insertions, 21 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.8 b/contrib/isc-dhcp/client/dhclient.8 index 14ba29d..a1168d4 100644 --- a/contrib/isc-dhcp/client/dhclient.8 +++ b/contrib/isc-dhcp/client/dhclient.8 @@ -41,17 +41,19 @@ dhclient - Dynamic Host Configuration Protocol Client .SH SYNOPSIS .B dhclient [ -.B -p -.I port +.B -Ddq1 ] [ -.B -1 +.B -lf +.I lease-file ] [ -.B -D +.B -p +.I port ] [ -.B -d +.B -pf +.I pidfile ] [ .I if0 @@ -122,6 +124,22 @@ are specified on the command line dhclient will identify all network interfaces, elimininating non-broadcast interfaces if possible, and attempt to configure each interface. .PP +The +.B -D +flag causes +.B dhclient +to save the script it creates for use in conjunction with +.B dhclient-script +in +.IR /tmp. +.PP +Dhclient will normally run in the foreground until it has configured +an interface, and then will revert to running in the background. +To run force dhclient to always run as a foreground process, the +.B -d +flag should be specified. This is useful when running dhclient under +a debugger, or when running it out of inittab on System V systems. +.PP If dhclient should listen and transmit on a port other than the standard (port 68), the .B -p @@ -140,31 +158,31 @@ number specified with the flag - if you wish to use alternate port numbers, you must configure any relay agents you are using to use the same alternate port numbers. .PP -Dhclient will normally run in the foreground until it has configured -an interface, and then will revert to running in the background. -To run force dhclient to always run as a foreground process, the -.B -d -flag should be specified. This is useful when running dhclient under -a debugger, or when running it out of inittab on System V systems. +The +.B -lf +flag may be used to change the lease output file from the default of +/var/db/dhclient.leases. .PP The -.B -D -flag causes -.B dhclient -to save the script it creates for use in conjunction with -.B dhclient-script -in -.IR /tmp. +.B -pf +flag may be used to change the PID file from the default of +/var/run/dhclient.pid. +.PP +The +.B -q +flag may be used to reduce the amount of screen output from +.B dhclient. .PP The .B -1 -flag cause dhclient to try once to get a lease. If it fails, dhclient exits. +flag cause dhclient to try once to get a lease. If it fails, dhclient exits +with exit code two. .PP .SH CONFIGURATION The syntax of the dhclient.conf(8) file is discussed seperately. .SH FILES -.B /etc/dhclient.conf, /var/db/dhclient.leases, /var/run/dhclient.pid, -.B /var/db/dhclient.leases~. +.B /etc/dhclient.conf, /var/db/dhclient.leases, /var/db/dhclient.leases~. +.B /var/run/dhclient.pid, .SH SEE ALSO dhclient.conf(5), dhclient.leases(5), dhclient-script(8) .SH AUTHOR |