git: dhclient - Add -x and -w and adjust rc scripts

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 19 19:03:37 PDT 2014


commit 0f5f50b1f05966ef4580d3e93d57a50eb67c30cd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 19 18:57:05 2014 -0700

    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.

Summary of changes:
 etc/defaults/rc.conf     |   2 +-
 etc/rc.d/dhclient        |   2 +-
 sbin/dhclient/dhclient.8 |  12 ++-
 sbin/dhclient/dhclient.c | 236 +++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 212 insertions(+), 40 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0f5f50b1f05966ef4580d3e93d57a50eb67c30cd


-- 
DragonFly BSD source repository



More information about the Commits mailing list