diff options
author | mtm <mtm@FreeBSD.org> | 2003-06-07 10:31:17 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-06-07 10:31:17 +0000 |
commit | ab49f7fcefb753c5edff5e360bee0a35de9c27d7 (patch) | |
tree | 7bd5ed6870f71b92de718ce09521ac764ea99263 /etc/rc.subr | |
parent | 69b4e9ce0114dea78c811d6c01cd8ebd9b810fc5 (diff) | |
download | FreeBSD-src-ab49f7fcefb753c5edff5e360bee0a35de9c27d7.zip FreeBSD-src-ab49f7fcefb753c5edff5e360bee0a35de9c27d7.tar.gz |
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 <john@jnielsen.net>
Diffstat (limited to 'etc/rc.subr')
-rw-r--r-- | etc/rc.subr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.subr b/etc/rc.subr index 1f21f22..5283180 100644 --- a/etc/rc.subr +++ b/etc/rc.subr @@ -837,6 +837,8 @@ load_rc_config() [ -n "$xntpd_enable" ] && ntpd_enable="$xntpd_enable" [ -n "$xntpd_program" ] && ntpd_program="$xntpd_program" [ -n "$xntpd_flags" ] && ntpd_flags="$xntpd_flags" + [ -n "$dhcp_program" ] && dhclient_program="$dhcp_program" + [ -n "$dhcp_flags" ] && dhclient_flags="$dhcp_flags" ;; esac |