Subject: Re: Handling 3rd party rc scripts
To: None <tech-pkg@netbsd.org>
From: Amitai Schlair <schmonz@schmonz.com>
List: tech-pkg
Date: 02/05/2002 20:32:26
"Frederick Bruckman" <fredb@immanent.net> wrote:

> Now, what is pkgsrc supposed to do? pkgsrc currently
> installs scripts to /usr/pkg/etc/rc.d, and (unevenly) suggests copying
> them to /etc/rc.d, but many people are evidently afraid to do that,
> and so keep on proposing ways to run them directly from
> /usr/pkg/etc/rc.d (which, as you said, is not acceptable as the
default).
> Should we just install them into /etc/rc.d, and register them there,
> as Lars suggested?

We have PKG_SYSCONFDIR which defaults to /usr/pkg/etc and can be changed
easily by a user who prefers another location. How about a
PKG_RCSCRIPTDIR knob which defaults to /etc/rc.d?

- Amitai