Subject: Re: HEADS UP: RCD_SCRIPTS_EXAMPLEDIR changed to share/examples/rc.d
To: Jeremy C. Reed <reed@reedmedia.net>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 12/31/2004 02:57:47
[ On Thursday, December 30, 2004 at 15:47:08 (-0800), Jeremy C. Reed wrote: ]
> Subject: Re: HEADS UP: RCD_SCRIPTS_EXAMPLEDIR changed to share/examples/rc.d
>
> On Thu, 30 Dec 2004, Todd Vierling wrote:
> 
> > - On binary pkg install, copy the rc.d script to a default location
> >   (LOCALBASE/etc/rc.d by default, since that jives with the
> >   all-under-LOCALBASE default goal).  Can be overridden by choosing a
> >   different directory.
> 
> Maybe RCD_SCRIPTS_DIR should default to ${PKG_SYSCONFBASE}/rc.d

No, that's not a good idea at all.

It _must_ default to wherever the target platform puts its startup
scripts (assuming the target platform uses a compatible type of script)

E.g. on NetBSD it _MUST_ be /etc/rc.d and perhaps on Solaris it should
be /etc/init.d

I.e. RCD_SCRIPTS_DIR should probably be set in the mk/defs.${OPSYS}.mk files.

-- 
						Greg A. Woods

H:+1 416 218-0098  W:+1 416 489-5852 x122  VE3TCP  RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>