Subject: Re: unable to get processes to start from /etc/rc.conf
To: Jeremy C. Reed <reed@reedmedia.net>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 05/24/2005 19:56:48
--J/zg8ciPNcraoWb6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 24, 2005 at 09:27:50AM -0700, Jeremy C. Reed wrote:
> On Tue, 24 May 2005, Mehul Sanghvi wrote:
> > > then you could set PKG_SYSCONFBASEDIR to /etc/pkg/rc.d in mk.conf
> > > and add it to rc_rcorder_flags in rc.conf.
> >
> > Time to re-install some packages.  :-)
>=20
> I think I missed or overlooked the context for the earlier messages.
> PKG_SYSCONFBASEDIR is used for various configurations and not just
> rc.d scripts. (And PKG_SYSCONFBASEDIR is usually derived from
> PKG_SYSCONFBASE.)
>=20
> RCD_SCRIPTS_DIR is used to choose where the rc.d scripts are installed
> when PKG_RCD_SCRIPTS is set to "YES".
>=20
> PKG_RCD_SCRIPTS can be set to "YES" in mk.conf but can also be defined
> in the shell environment for when using binary packages. (Note that
> PKG_CONFIG needs to be "YES" also, but that is the default.)
>=20
> You could set RCD_SCRIPTS_DIR to /etc/pkg/rc.d or /etc/rc.d as
> examples.  (And set PKG_RCD_SCRIPTS to "YES".)
>=20
> Or you could set RCD_SCRIPTS_DIR (in your mk.conf) to
> ${PKG_SYSCONFBASEDIR}/rc.d and set PKG_SYSCONFBASE to /etc or
> /etc/pkg/.

err, right.. sorry.  must've been the early morning :).
jeremy nicely summed up what i had in mind, thanks.


regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--J/zg8ciPNcraoWb6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFCk2rfiwjDDlS8cmMRAqxLAJ0biJR8x2z1tewn4bBv24miKMj+0QCfXKAy
DW7wvN+m1XNJd6/FPPqxoj8=
=kJbQ
-----END PGP SIGNATURE-----

--J/zg8ciPNcraoWb6--