Subject: Re: rc.d scripts and there variable settings (was: CVS commit: sharesrc/share/man/man5)
To: None <tech-pkg@netbsd.org>
From: Klaus Heinz <k.heinz.sep.zwei@onlinehome.de>
List: tech-pkg
Date: 09/05/2002 17:08:04
grant beattie wrote:
> set RCD_SCRIPTS_DIR to something like /etc/pkg/rc.d and use something like:
This part is clear: redirect installation of rc scripts from /etc/rc.d/
to /etc/pkg/rc.d/.
> rc_rcorder_flags=`echo /etc/pkg/rc.d/*`
> rcshutdown_rcorder_flags=`echo /etc/pkg/rc.d/*`
>
> in rc.conf.
But what is this supposed to do? Where are the those variables used?
> of course, this only works with packages which are written to do RCD
> stuff properly, and quite a few aren't.
I.e. setting RCD_SCRIPTS=myscript?
Are the comments in pkgsrc/mk/bsd.pkg.install.mk the authoritative
documentation on how to do it?
ciao
Klaus