View | Details | Raw Unified | Return to bug 12984
Collapse All | Expand All

(-)etc/defaults/rc.conf (+2 lines)
Lines 31-36 Link Here
31
### Basic network options: ###
31
### Basic network options: ###
32
hostname="myname.my.domain"	# Set this!
32
hostname="myname.my.domain"	# Set this!
33
nisdomainname="NO"		# Set to NIS domain if using NIS (or NO).
33
nisdomainname="NO"		# Set to NIS domain if using NIS (or NO).
34
dhcp_program="/sbin/dhclient"	# Path to dhcp client program.
35
dhcp_flags=""			# Additional flags to pass to dhcp client.
34
firewall_enable="NO"		# Set to YES to enable firewall functionality
36
firewall_enable="NO"		# Set to YES to enable firewall functionality
35
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
37
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
36
firewall_type="UNKNOWN"		# Firewall type (see /etc/rc.firewall)
38
firewall_type="UNKNOWN"		# Firewall type (see /etc/rc.firewall)
(-)etc/rc.network (-1 / +6 lines)
Lines 58-64 Link Here
58
	    # Do the primary ifconfig if specified
58
	    # Do the primary ifconfig if specified
59
	    eval ifconfig_args=\$ifconfig_${ifn}
59
	    eval ifconfig_args=\$ifconfig_${ifn}
60
	    if [ -n "${ifconfig_args}" ] ; then
60
	    if [ -n "${ifconfig_args}" ] ; then
61
		    ifconfig ${ifn} ${ifconfig_args}
61
		# See if we are using DHCP
62
		if [ X"${ifconfig_args}" = X"DHCP" ]; then
63
			${dhcp_program} ${dhcp_flags} ${ifn}
64
		else
65
		    	ifconfig ${ifn} ${ifconfig_args}
66
		fi
62
	    fi
67
	    fi
63
	    # Check to see if aliases need to be added
68
	    # Check to see if aliases need to be added
64
	    alias=0
69
	    alias=0

Return to bug 12984