Sort options.

Add options in usage() not documented.
This commit is contained in:
David E. O'Brien 1999-06-25 22:31:47 +00:00
parent 5b4742f188
commit 94aa67da3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48223

View File

@ -41,17 +41,19 @@ dhclient - Dynamic Host Configuration Protocol Client
.SH SYNOPSIS
.B dhclient
[
.B -Ddq1
]
[
.B -lf
.I lease-file
]
[
.B -p
.I port
]
[
.B -1
]
[
.B -D
]
[
.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