Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 20:19:56 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: /etc/rc.d/named prog name hard coded
Message-ID:  <7mvfmsbc0z.wl@black.imgsrc.co.jp>
In-Reply-To: <E1Amp09-000Oyk-N6@psg.com>
References:  <E1Amp09-000Oyk-N6@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mvfmsbc0z.wl>