diff options
| -rw-r--r-- | contrib/isc-dhcp/client/dhclient.8 | 14 | ||||
| -rw-r--r-- | contrib/isc-dhcp/client/dhclient.c | 4 |
2 files changed, 16 insertions, 2 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.8 b/contrib/isc-dhcp/client/dhclient.8 index 096b1060c997..6cdc06350b29 100644 --- a/contrib/isc-dhcp/client/dhclient.8 +++ b/contrib/isc-dhcp/client/dhclient.8 @@ -35,6 +35,11 @@ .\" Enterprises. To learn more about the Internet Software Consortium, .\" see ``http://www.isc.org/isc''. To learn more about Vixie .\" Enterprises, see ``http://www.vix.com''. +.\" +.\" Portions copyright (c) 2000 David E. O'Brien. +.\" All rights reserved. +.\" $FreeBSD$ +.\" .TH dhclient 8 .SH NAME dhclient - Dynamic Host Configuration Protocol Client @@ -44,6 +49,10 @@ dhclient - Dynamic Host Configuration Protocol Client .B -Ddq1 ] [ +.B -cf +.I config-file +] +[ .B -lf .I lease-file ] @@ -159,6 +168,11 @@ 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 The +.B -cf +flag may be used to change the shell script from the default of +/sbin/dhclient-script. +.PP +The .B -lf flag may be used to change the lease output file from the default of /var/db/dhclient.leases. diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c index f47e47a5898d..7fb1f14f5b15 100644 --- a/contrib/isc-dhcp/client/dhclient.c +++ b/contrib/isc-dhcp/client/dhclient.c @@ -301,8 +301,8 @@ static void usage (appname) note (url); note (""); - warn ("Usage: %s [-D] [-d] [-p <port>] [-lf lease-file]", appname); - error (" [-pf pidfile] [-q] [-1] [interface]"); + warn ("Usage: %s [-D] [-d] [-p <port>] [-cf conf-file]", appname); + error (" [-lf lease-file] [-pf pidfile] [-q] [-1] [interface]"); } void cleanup () |
