Subject: RCD_SCRIPTS and MESSAGEs
To: None <tech-pkg@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/23/2004 15:46:10
pkgsrc now has automatic PLIST registrations for RCD_SCRIPTS.

I now just patched a few MESSAGE files that had hard-coded etc/rc.d
references so they'd use ${RCD_SCRIPTS_EXAMPLEDIR} instead.

The problem is that the MESSAGEs are unclear and often wrong.

For example, see this suggestion:

 1) To enable "wwwwoffled" to start on boot on NetBSD-1.5 or newer,
 please copy "${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffled" to "/etc/rc.d/" and add
 "wwwoffled=YES" to /etc/rc.conf. To do the same on older systems,
 add the following to /etc/rc.local:

 if [ -x ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle ]; then
     ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle
 fi


The above will work, but is wrong.

We need to have a consistent and correct MESSAGE for these.

(Also I noticed some MESSAGEs use "/etc/mk.conf" when on some systems it
may be at "/usr/pkg/etc/mk.conf" or elsewhere.)

   Jeremy C. Reed
   http://bsd.reedmedia.net/