dhclient - Add -x and -w and adjust rc scripts
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 20 Aug 2014 01:57:05 +0000 (18:57 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 20 Aug 2014 01:57:05 +0000 (18:57 -0700)
commit0f5f50b1f05966ef4580d3e93d57a50eb67c30cd
treec551163013323e8af4446a630cecf8ad83d784b2
parentbe14aa9f0625cfd37e4b8ed5caf9ddccdcae05c2
dhclient - Add -x and -w and adjust rc scripts

* Add the -w option which prevents dhclient from exiting on interface
  down.  dhclient will sleep 10 seconds and retry, forever.

* Add the -x option which kills any running dhclient on the specified
  interface.

* Adjust rc.d/dhclient to use the -x option to kill the dhclient instead
  of taking down the interface (which no longer kills it), and also adjust
  the default flags to pass -w.
etc/defaults/rc.conf
etc/rc.d/dhclient
sbin/dhclient/dhclient.8
sbin/dhclient/dhclient.c