diff options
author | des <des@FreeBSD.org> | 2011-10-13 17:20:45 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2011-10-13 17:20:45 +0000 |
commit | ad844b42a2ded6583ac9176413a9ef594c5e677b (patch) | |
tree | 572fea409097b2acc4b4642288642b8048c9efca /sbin/dhclient/dhclient.8 | |
parent | c9a3d28e97b357af334a68382823f39076347e40 (diff) | |
download | FreeBSD-src-ad844b42a2ded6583ac9176413a9ef594c5e677b.zip FreeBSD-src-ad844b42a2ded6583ac9176413a9ef594c5e677b.tar.gz |
Make dhclient use a pid file. Modify the rc script accordingly; while
there, clean it up and add some error checks.
Glanced at by: brooks@
MFC after: 3 weeks
Diffstat (limited to 'sbin/dhclient/dhclient.8')
-rw-r--r-- | sbin/dhclient/dhclient.8 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient.8 b/sbin/dhclient/dhclient.8 index 58f5ddd..d2b8f437 100644 --- a/sbin/dhclient/dhclient.8 +++ b/sbin/dhclient/dhclient.8 @@ -38,7 +38,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 13, 2007 +.Dd October 13, 2011 .Dt DHCLIENT 8 .Os .Sh NAME @@ -49,6 +49,7 @@ .Op Fl bdqu .Op Fl c Ar file .Op Fl l Ar file +.Op Fl p Ar file .Ar interface .Sh DESCRIPTION The @@ -83,6 +84,10 @@ will revert to running in the background. Specify an alternate location, .Ar file , for the leases file. +.It Fl p Ar file +Specify an alternate location for the PID file. +The default is +.Pa /var/run/dhclient. Ns Ar interface Ns Pa .pid . .It Fl q Forces .Nm |