]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Document some new flags.
authorTed Lemon <source@isc.org>
Thu, 22 Mar 2001 06:56:42 +0000 (06:56 +0000)
committerTed Lemon <source@isc.org>
Thu, 22 Mar 2001 06:56:42 +0000 (06:56 +0000)
client/dhclient.8

index bfe22995602ba304adbf5d0f364a32e2a2580b25..2b30f9fa3b14752a8232d4d46bad0cda90992c46 100644 (file)
@@ -34,12 +34,12 @@ dhclient - Dynamic Host Configuration Protocol Client
 .B -q
 ]
 [
-.B -c
+.B -1
 ]
+[
 .B -r
 ]
 [
-[
 .B -lf
 .I lease-file
 ]
@@ -52,6 +52,10 @@ dhclient - Dynamic Host Configuration Protocol Client
 .I config-file
 ]
 [
+.B -sf
+.I script-file
+]
+[
 .B -s
 server
 ]
@@ -184,17 +188,25 @@ The
 .B -r
 flag explicitly releases the current lease.
 .PP
+The
+.B -1
+flag cause dhclient to try once to get a lease.  If it fails, dhclient exits
+with exit code two.
+.PP
 The DHCP client normally gets its configuration information from
 .B ETCDIR/dhclient.conf,
 its lease database from
-.B DBDIR/dhclient.leases
-and stores its process ID in a file called
-.B RUNDIR/dhclient.pid.
+.B DBDIR/dhclient.leases,
+stores its process ID in a file called
+.B RUNDIR/dhclient.pid,
+and configures the network interface using
+.B CLIENTBINDIR/dhclient-script
 To specify different names and/or locations for these files, use the
 .B -cf,
-.B -lf
-and
+.B -lf,
 .B -pf
+and
+.B -sf
 flags, respectively, followed by the name of the file.   This can be
 particularly useful if, for example,
 .B DBDIR
@@ -216,10 +228,12 @@ address on that interface.
 .SH CONFIGURATION
 The syntax of the dhclient.conf(8) file is discussed seperately.
 .SH FILES
+.B CLIENTBINDIR/dhclient-script,
 .B ETCDIR/dhclient.conf, DBDIR/dhclient.leases, RUNDIR/dhclient.pid,
 .B DBDIR/dhclient.leases~.
 .SH SEE ALSO
-dhcpd(8), dhcrelay(8), dhclient.conf(5), dhclient.leases(5)
+dhcpd(8), dhcrelay(8), dhclient-script (8), dhclient.conf(5),
+dhclient.leases(5).
 .SH AUTHOR
 .B dhclient(8)
 has been written for the Internet Software Consortium