tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: net/sysmon rc.d script



On 08/31, J. Lewis Muir wrote:
> Sorry, and now I'm getting closer to hijacking your thread, but does
> anyone know whether the RCD_SCRIPTS mechanism ensures that the rc.subr
> file gets installed to the bootstrapped system configuration directory?
> I have a vague recollection that it was not installed for some situation
> I had many years ago, but I can't remember now.  Obviously, if nothing
> installs it, then it might not exist, and yet most installed rc.d
> scripts need it, including this proposed one for sysmon.

Looking a little more, I found pkgtools/rc.subr, which seems to be for
this purpose.  From its DESCR:

  Portable implementation of the NetBSD rc.d subsystem.

  This package allows you to use rc.subr-style rc scripts (such as
  those included in pkgsrc) on other operating systems.

Might be good to put this in the pkgsrc Guide?  Or, if I can understand
how rc.d scripts in pkgsrc are intended to work (e.g., the answers to
the questions I asked), I could submit a patch for what I think would
help improve the guide on this topic?

Lewis


Home | Main Index | Thread Index | Old Index