Subject: Re: /usr/pkg/etc/rc.d/*
To: None <tech-pkg@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 03/09/2003 18:06:37
[ On Sunday, March 9, 2003 at 22:08:46 (+0000), Julio Merino wrote: ]
> Subject: Re: /usr/pkg/etc/rc.d/*
>
> On Sun, 9 Mar 2003 15:22:41 -0500 (EST)
> "Greg A. Woods" <woods@weird.com> wrote:
> 
> [ moved to tech-pkg, as this is the list to use ]

Thanks!

> > ! RCD_SCRIPTS_EXAMPLEDIR?=      ${PREFIX}/share/examples/rc.d
> 
> Why don't we do this by default?  I see no problems by changing this
> (except that all packages should be changed to use this directory...
> not very difficult).

That's a very good question!

I've only been asking it for a couple of months now though, so I don't
expect a good answer for some time yet.  :-(

> Installing under ${PREFIX}/etc/rc.d means that, if you set LOCALBASE
> to be / and PKG_RCD_SCRIPTS=YES, then you have got a problem, isn't it?

Or even with PREFIX=/usr and a /usr/etc -> /etc symlink.....

> Anyway, installing under the examples tree looks better and will avoid
> confusion to end users wanting to chain pkg/etc/rc.d at boot time...

Exactly!  :-)

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>