Subject: Re: What about startup scripts??
To: Frederick Bruckman <fb@enteract.com>
From: Al B. Snell <alaric@alaric-snell.com>
List: tech-pkg
Date: 12/31/2000 11:29:42
On Sat, 30 Dec 2000, Frederick Bruckman wrote:
> The package maintainer sets "HAS_RC_SCRIPT=somethingd" in the
> package's "Makefile", (after creating the script, of course). [The
> name of the script is the name of the daemon is the name of the
> variable, but you can't necessarily infer it from the name of the
> package, therefore HAS_RC_SCRIPT is set to the name of the script, and
> not to "yes".] The package machinery installs the script to
> /usr/${PREFIX}/etc/rc.d at install time, and adds it to the PLIST.
> Also at install time, and again at pkg_add time (via "INSTALL"),
> /etc/rc.{,pkg.}conf gets "somethingd=NO" if it doesn't contain
> ^somethingd= already, and the user is given some standard direction
> (via "MESSAGE").
That sounds good to me. Does anyone have any objections?
ABS
--
Alaric B. Snell
http://www.alaric-snell.com/ http://RFC.net/ http://www.warhead.org.uk/
Any sufficiently advanced technology can be emulated in software