Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 13:08:23 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/etc/rc.d defaultroute
Message-ID:  <201009291308.o8TD8XYE028658@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
emaste      2010-09-29 13:08:23 UTC

  FreeBSD src repository

  Modified files:
    etc/rc.d             defaultroute 
  Log:
  SVN rev 213270 on 2010-09-29 13:08:23Z by emaste
  
  /etc/rc.d/defaultroute currently bails immediately if all interfaces
  set to use DHCP have no carrier.  This can cause grief as it may take
  some time for link to be established, and defaultroute may terminate
  before this happens.
  
  Introduce a defaultroute_carrier_delay variable and then wait that long
  in defaultroute before bailing if no interfaces have carrier.  With the
  default settings defaultroute will wait for five seconds for this, and
  the original 30 second wait for a default route to appear is unchanged.
  Note that there is in discussion an alternative approach to the broader
  problem of waiting for DHCP-configured routes.  However, this change
  addresses a real problem in the current defaultroute script.
  
  Discussed on:   freebsd-rc@
  
  Revision  Changes    Path
  1.11      +26 -17    src/etc/rc.d/defaultroute



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009291308.o8TD8XYE028658>