summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-06-25 22:31:47 +0000
committerobrien <obrien@FreeBSD.org>1999-06-25 22:31:47 +0000
commit87c4dbd66a7d9777fbc25f9222da6d2d79e49393 (patch)
tree446fc83e749b4d2d4296709533b4c261ff755c73 /contrib
parent2d6635330fd94b1df326d5dd3d1a42e54b5739b0 (diff)
downloadFreeBSD-src-87c4dbd66a7d9777fbc25f9222da6d2d79e49393.zip
FreeBSD-src-87c4dbd66a7d9777fbc25f9222da6d2d79e49393.tar.gz
Sort options.
Add options in usage() not documented.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/isc-dhcp/client/dhclient.860
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
OpenPOWER on IntegriCloud