Subject: Re: /usr/pkg/etc/rc.d/*
To: Frederick Bruckman <>
From: Lubomir Sedlacik <>
List: tech-pkg
Date: 06/11/2002 12:08:43
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 10, 2002 at 10:21:01PM -0500, Frederick Bruckman wrote:
> On Tue, 11 Jun 2002, Marton Fabo wrote:
> >
> > Is there an "official" settlement regarding how all the 3rd party
> > (package) daemons should be invoked at startup?
> In a word, "no".

yes and no.  it depends on your system version.

> > I mean, is there a way to launch them by an aggregate command, like
> > /etc/rc does with the system daemons, or each required one should be
> > explicitely started from /etc/rc.local?
> "rc.local"? You could just copy them into "/etc/rc.d/", and let
> "/etc/rc.subr" do it's stuff, but, no, there is no "settlement"
> (good word!).

it is possible in 1.6_BETA1 and -current.  see revision 1.37 of

  revision 1.37
  date: 2002/05/19 01:01:33;  author: lukem;  state: Exp;  lines: +9 -1
  Add two new rc.conf(5) variables:
      rc_rcorder_flags            extra flags to rcorder(8) in /etc/rc
      rcshutdown_rcorder_flags    extra flags to rcorder(8) in /etc/rc.shut=
  This can be used to specify extra directories to search for rc.d scripts =
  For example, adding the following to rc.conf(5):
  will add the files in /usr/pkg/etc/rc.d to the list of files that rcorder=
  uses to build the list of scripts to start or stop.
  I proposed this functionality on tech-userlevel@ over one month ago.
  Closes the recent [misc/16888], which asked for a similar feature.

another possibility is to set INSTALL_RCD_SCRIPTS to YES in /etc/mk.conf
and packages which install rc scripts with help from
will install their rc scripts directly to /etc/rc.d.


-- Lubomir Sedlacik <>   ASCII Ribbon campaign against  /"\=
--                  <>   e-mail in gratuitous HTML and  \ /=
--                                       Microsoft proprietary formats   X =
-- PGPkey:                                  / \=
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =

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

Version: GnuPG v1.0.7 (NetBSD)