cvs commit: src/etc/rc.d dhclient

Brooks Davis brooks at
Wed Mar 12 17:41:38 UTC 2008

brooks      2008-03-12 17:41:38 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    etc/rc.d             dhclient 
  Sync with current merging revs 1.27 and 1.31.
  Use get_if_var() to retrieve interface specific values of dhclient_flags
  and background_dhclient.  This allows interfaces who's names are not
  valid parts of shell variables and shortens the code.
  When the state of the interface changes rapidly enough there is a race
  where dhclient is in the process of exiting due to the link going down
  when the link coming up causes devd to try and start a new one.  This
  results is the link being up, but no dhclient running.
  Work around this race by checking a second time after a one second delay
  before refusing to start a dhclient instance due to one already being
  Revision  Changes    Path  +8 -8      src/etc/rc.d/dhclient

More information about the cvs-src mailing list