summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2006-04-13 06:50:46 +0000
committerbrooks <brooks@FreeBSD.org>2006-04-13 06:50:46 +0000
commit1f100dedee20c4e7c39b261b0341b1576fc7d656 (patch)
tree9e34297d1772831e3888eb1ecfaa29edae777b1c /etc/defaults
parentb016b4a6093d851f23e2b8536c356732069b9edb (diff)
downloadFreeBSD-src-1f100dedee20c4e7c39b261b0341b1576fc7d656.zip
FreeBSD-src-1f100dedee20c4e7c39b261b0341b1576fc7d656.tar.gz
Commit the various network interface configutation updates I've been
working on. 1) Make it possible to configure interfaces with certain characters in their names that aren't valid in shell variables. Currently supported characters are ".-/+". They are converted into '_' characters. 2) Replace nearly all eval statements in network.subr with a new function get_if_var which substitues an interface name (after the translations above) for "IF" in a variable name. 3) Fix list_net_interfaces() in the nodhcp case. 4) Allow the administrator to specify if dhclient should be started when /etc/rc.d/netif configures the interface or only by devd. This can be set on both a per interface and system wide basis. PR: conf/88974 [1,2], conf/92433 [1,2]
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 84e33b9..32dd8ff 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -95,6 +95,8 @@ nisdomainname="NO" # Set to NIS domain if using NIS (or NO).
dhclient_program="/sbin/dhclient" # Path to dhcp client program.
dhclient_flags="" # Additional flags to pass to dhcp client.
background_dhclient="NO" # Start dhcp client in the background.
+syncronous_dhclient="YES" # Start dhclient directly on configured
+ # interfaces during startup.
firewall_enable="NO" # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall)
OpenPOWER on IntegriCloud