summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/defaultroute
Commit message (Collapse)AuthorAgeFilesLines
* Renove faith(4) and faithd(8) from base. It looks like industrymelifaro2014-11-091-1/+1
| | | | | | | | | have chosen different (and more traditional) stateless/statuful NAT64 as translation mechanism. Last non-trivial commits to both faith(4) and faithd(8) happened more than 12 years ago, so I assume it is time to drop RFC3142 in FreeBSD. No objections from: net@
* /etc/rc.d/defaultroute currently bails immediately if all interfacesemaste2010-09-291-17/+26
| | | | | | | | | | | | | | | | 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@
* Remove trailing white space. No functional changes.dougb2010-05-141-1/+1
|
* - Add AF_IPX and AF_NATM to afexists().hrs2009-10-021-0/+2
| | | | | | - Add afexists() check to address family specific rc.d scripts. A script for an AF will be silently ignored if the kernel has no support for the AF.
* Move rc.d/{stf,faith} to just before rc.d/routing.hrs2009-09-261-1/+1
| | | | Pointed out by: tegge
* Integrate rc.d/network_ipv6 into rc.d/netif:hrs2009-09-121-4/+6
| | | | | | | | | | - Add rc.d/stf and rc.d/faith for stf(4) and faith(4). - Remove rc.d/auto_linklocal and rc.d/network_ipv6. - Move rc.d/sysctl to just before FILESYSTEMS because rc.d/netif depends on some sysctl variables. Reviewed by: brooks MFC after: 3 days
* Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to bettermtm2009-02-171-3/+3
| | | | reflect its purpose.
* Reword informational message by rc.d/defaultroute.mtm2009-02-111-1/+1
| | | | PR: conf/131458
* The 30 second wait for network interfaces to show up effectively makes themtm2009-02-021-4/+15
| | | | | | time to boot an unplugged system 30 sec. longer for no good reason. Therefore, add a check to make sure that any DHCP interfaces are plugged in before waiting.
* Spawn one fewer shells on startup. We don't use dhcp_interfaces atimp2009-01-301-1/+0
| | | | | | all in this function, and grep shows no other instances of it (besides, this is a function, and in a sub-shell, so all changes are local).
* Correct a bug where /etc/rc.d/defaultroute fails to finish by printing abrooks2008-12-171-1/+3
| | | | | | | | | newline when it fails to obtain an address via DHCP. This made the next rc script begin its output on the same line. PR: conf Submitted by: Bruce Cran <bruce at cran dot org dot uk> MFC after: 3 days
* As previously discussed, add the svn:executable property to all scriptsdougb2008-07-161-0/+0
|
* Fix the wait for default route change I made a few weeks ago by creatingbrooks2008-06-051-0/+48
a new defaultroute script that just does the wait. The previous attempt created a circular dependency through network_ipv6. Pointy hat to: brooks
OpenPOWER on IntegriCloud