From: Ted Lemon Date: Thu, 22 Mar 2001 06:56:42 +0000 (+0000) Subject: Document some new flags. X-Git-Tag: V3-BETA-2-PATCH-23~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca9936c1be980383c6c86d9b18c32d4c457e4b5;p=thirdparty%2Fdhcp.git Document some new flags. --- diff --git a/client/dhclient.8 b/client/dhclient.8 index bfe229956..2b30f9fa3 100644 --- a/client/dhclient.8 +++ b/client/dhclient.8 @@ -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