--- client/dhclient.8.orig Thu Mar 1 23:11:12 2001 +++ client/dhclient.8 Thu Mar 22 04:04:29 2001 @@ -34,12 +34,12 @@ .B -q ] [ -.B -c +.B -1 ] +[ .B -r ] [ -[ .B -lf .I lease-file ] @@ -52,6 +52,10 @@ .I config-file ] [ +.B -sf +.I script-file +] +[ .B -s server ] @@ -184,17 +188,25 @@ .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 DBDIR/dhclient.leases, +stores its process ID in a file called .B RUNDIR/dhclient.pid. +and configure 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 @@ .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~. +.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) and +dhclient.leases(5). .SH AUTHOR .B dhclient(8) has been written for the Internet Software Consortium