Subject: Re: HEADS UP: RCD_SCRIPTS_EXAMPLEDIR changed to share/examples/rc.d
To: Jeremy C. Reed <reed@reedmedia.net>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 12/29/2004 09:49:30
On Tue, 28 Dec 2004, Jeremy C. Reed wrote:

> > So I don't see why rc.d scripts should be any different -- just install them
> > to $LOCALBASE/etc by default just as with other customizable files (and let
> > a source build be configurable to use something not rooted under LOCALBASE).
> > I don't see any reason not to install them *anywhere*; that's just stupid.
>
> I have been using PKG_RCD_SCRIPTS=YES for a couple years on a few systems
> (some with pkgsrc and some with all binary packages) and it has appeared
> to work fine. My only problem is the complaint:
>
> Sep 15 06:27:00 puget logger: /etc/rc: WARNING: $cupsd is not set properly
> - see rc.conf(5).

See my prior mails on how this can be fixed trivially.  For instance, adding
the following line to rc.d/cups before rc.subr will squelch the warning by
defaulting $cupsd to "NO".  (Yes, the colon at the start of the line is
important.)

: ${cups:=NO}

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com>