summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/dhclient.8
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2006-08-17 17:12:27 +0000
committerbrian <brian@FreeBSD.org>2006-08-17 17:12:27 +0000
commita3922ffaf600bcd06d7363d5e87ff9289859ce65 (patch)
treef87350c5fc4681fa51e1fc97c0a3407d6bd3efc2 /sbin/dhclient/dhclient.8
parent8dcb0483a6e8eff67cf2fb1309ec730ae1f05773 (diff)
downloadFreeBSD-src-a3922ffaf600bcd06d7363d5e87ff9289859ce65.zip
FreeBSD-src-a3922ffaf600bcd06d7363d5e87ff9289859ce65.tar.gz
Add a -p switch to dhclient. The switch tells dhclient to persist
despite the interface link status. Add dhclient_flags_iface and background_dhclient_iface rc.conf options. (where iface is a specific interface). These can be used to give interface specific flags to dhclient. Reviewed by: brooks@
Diffstat (limited to 'sbin/dhclient/dhclient.8')
-rw-r--r--sbin/dhclient/dhclient.87
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient.8 b/sbin/dhclient/dhclient.8
index 281159f..bbe922f 100644
--- a/sbin/dhclient/dhclient.8
+++ b/sbin/dhclient/dhclient.8
@@ -46,7 +46,7 @@
.Nd "Dynamic Host Configuration Protocol (DHCP) client"
.Sh SYNOPSIS
.Nm
-.Op Fl bdqu
+.Op Fl bdpqu
.Op Fl c Ar file
.Op Fl l Ar file
.Ar interface
@@ -83,6 +83,11 @@ will revert to running in the background.
Specify an alternate location,
.Ar file ,
for the leases file.
+.It Fl p
+Tells dhclient to persist in trying to configure the interface, despite
+an inability to gain carrier.
+This is used to survive switch outages and when dhclient is required as
+soon as the cable is connected.
.It Fl q
Forces
.Nm
OpenPOWER on IntegriCloud