Subject: Re: s/mndb is not set properly
To: None <netbsd-help@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 08/26/2002 10:49:14
On Mon, 26 Aug 2002, Andrew Brown wrote:

> >When I do /etc/rc.d/samba start
> >/etc/rc.d/nmdb: WARNING: $nmdb is not set properly

> you simply need to provide defaults for these variables somewhere, but
> do not, repeat, do not add these defaults to /etc/defaults/rc.conf.
...
> 	[ -f /etc/rc.conf.d/DEFAULTS ] && . /etc/rc.conf.d/DEFAULTS

It would be good if all the packages that install to ${PREFIX}/etc/rc.d/
also could included a default ${PREFIX}/etc/rc.conf.d/ file.

(And then maybe the load_rc_config() then know to check it.)

   Jeremy C. Reed
   http://www.reedmedia.net/