Subject: Re: rc.d scripts and there variable settings (was: CVS commit: sharesrc/share/man/man5)
To: Stoned Elipot <email@example.com>
From: Robert Elz <kre@munnari.OZ.AU>
Date: 09/06/2002 19:22:38
Date: Fri, 6 Sep 2002 11:02:11 +0200
From: Stoned Elipot <firstname.lastname@example.org>
| On Thu, Sep 05, 2002 at 07:07:20PM +0700, Robert Elz wrote:
| > if [ -f /etc/rc.subr ]
| This is not really optimum as older netbsd releases do have a
| /etc/rc.subr but do not have lukem's /etc/rc.d framework.
Just for completeness, do note that that part wasn't the part I was
concerned with - that's what's in the slapd script now (from
I certainly have no problems with changing it to be something better.
My comment was aimed at adding (effectively) "slapd=NO" to the script,
before the config files are read (if they exist - if they don't, the
valud of slapd isn't used anyway, so it doesn't matter). That is, the
line that would be in /etc/defaults/rc.conf if this were a system rc.d
script, instead of a pkgsrc one.