summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2008-05-15 01:06:10 +0000
committerbrooks <brooks@FreeBSD.org>2008-05-15 01:06:10 +0000
commit3a31a0cef3ad77bf9b055195367fd5217f8595d9 (patch)
treecea064b3cf9056f9f0ac35e90123c5dadbd14e11 /etc/defaults
parent93203690b0db18a27ba088f5d3728c8ee301e089 (diff)
downloadFreeBSD-src-3a31a0cef3ad77bf9b055195367fd5217f8595d9.zip
FreeBSD-src-3a31a0cef3ad77bf9b055195367fd5217f8595d9.tar.gz
Change the default value of synchronous_dhclient to NO.
To preserve the existing behavior of etc/rc.d/netif, add code to wait up to if_up_delay seconds (30 seconds by default) for a default route to be configured if there are any dhcp interfaces. This should be extended to test that the interface is actually up. X-MFC after:
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index bd8ebb5..3d03b04 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -103,7 +103,7 @@ dhclient_flags="" # Extra flags to pass to dhcp client.
#dhclient_flags_fxp0="" # Extra dhclient flags for fxp0 only
background_dhclient="NO" # Start dhcp client in the background.
#background_dhclient_fxp0="YES" # Start dhcp client on fxp0 in the background.
-synchronous_dhclient="YES" # Start dhclient directly on configured
+synchronous_dhclient="NO" # Start dhclient directly on configured
# interfaces during startup.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s" # Extra flags to pass to wpa_supplicant
@@ -178,6 +178,7 @@ tcp_drop_synfin="NO" # Set to YES to drop TCP packets with SYN+FIN
icmp_drop_redirect="NO" # Set to YES to ignore ICMP REDIRECT packets
icmp_log_redirect="NO" # Set to YES to log ICMP REDIRECT packets
network_interfaces="auto" # List of network interfaces (or "auto").
+if_up_delay="30" # Time to wait for interfaces to come up.
cloned_interfaces="" # List of cloned network interfaces to create.
#cloned_interfaces="gif0 gif1 gif2 gif3" # Pre-cloning GENERIC config.
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
OpenPOWER on IntegriCloud