/etc/rc.d/named prog name hard coded

Jun Kuriyama kuriyama at imgsrc.co.jp
Sat Jan 31 03:19:59 PST 2004


At Sat, 31 Jan 2004 06:53:52 +0000 (UTC),
Randy Bush wrote:
> despite /etc/defaults/rc.conf having
> 
>     named_program="/usr/sbin/named"     # path to named, if you want a different one.
> 
> /etc/rc.d/named has hard coded
> 
>     command="/usr/sbin/${name}"

$named_program overrides $command when it is defined before calling
run_rc_command().  I don't know why $command is defined in this way in
/etc/rc.d/named...


-- 
Jun Kuriyama <kuriyama at imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama at FreeBSD.org> // FreeBSD Project


More information about the freebsd-current mailing list