summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/rc.conf4
-rw-r--r--etc/network.subr2
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 523afc7..ab4fc41 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 b6e4a66..c221115 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
OpenPOWER on IntegriCloud