From ab49f7fcefb753c5edff5e360bee0a35de9c27d7 Mon Sep 17 00:00:00 2001 From: mtm Date: Sat, 7 Jun 2003 10:31:17 +0000 Subject: The dhcp_program and dhcp_flags variables have to be renamed to take advantage of the rc.subr(8) glue. They are renamed dhclient_program and dhclient_flags. o Rename them in rc.conf(5) o Rename them in /etc/defaults/rc.conf o Add the deprecated variables to /etc/rc.subr o Isolate the use of the 'command' variable to the NetBSD specific parts in /etc/rc.d/dhclient. o Now that dhcp_flags has also been renamed it will be applied properly by rc.subr(8) glue code. Reported by: John Nielsen --- etc/defaults/rc.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/defaults') diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 594f55b..75c2603 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -55,8 +55,8 @@ extra_netfs_types="NO" # List of network extra filesystem types for delayed ### Basic network and firewall/security options: ### hostname="" # Set this! nisdomainname="NO" # Set to NIS domain if using NIS (or NO). -dhcp_program="/sbin/dhclient" # Path to dhcp client program. -dhcp_flags="" # Additional flags to pass to dhcp client. +dhclient_program="/sbin/dhclient" # Path to dhcp client program. +dhclient_flags="" # Additional flags to pass to dhcp client. 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) -- cgit v1.1