From d24a9d7e7f3abff7b6088ba44aa338c7c13441dd Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 29 Mar 2007 21:42:19 +0000 Subject: [PATCH] Back out network.subr :- fix and comment out dhc*_fxp0 examples instead Submitted by: jhb --- etc/defaults/rc.conf | 4 ++-- etc/network.subr | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 523afc7fae2..ab4fc41fa1a 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -92,10 +92,10 @@ extra_netfs_types="NO" # List of network extra filesystem types for delayed hostname="" # Set this! nisdomainname="NO" # Set to NIS domain if using NIS (or NO). dhclient_program="/sbin/dhclient" # Path to dhcp client program. -dhclient_flags="" # Extra flags to pass to dhcp client. +#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="" # Start dhcp client on fxp0 in the background. +#background_dhclient_fxp0="YES" # Start dhcp client on fxp0 in the background. synchronous_dhclient="YES" # Start dhclient directly on configured # interfaces during startup. firewall_enable="NO" # Set to YES to enable firewall functionality diff --git a/etc/network.subr b/etc/network.subr index b6e4a665395..c2211154bc5 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -118,7 +118,7 @@ get_if_var() prefix=${_var%%IF*} suffix=${_var##*IF} - eval echo \${${prefix}${_if}${suffix}:-${_default}} + eval echo \${${prefix}${_if}${suffix}-${_default}} } # _ifconfig_getargs if -- 2.45.0