summaryrefslogtreecommitdiff
path: root/www/wwwoffle/MESSAGE
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2004-04-23 22:43:20 +0000
committerreed <reed@pkgsrc.org>2004-04-23 22:43:20 +0000
commit6568ba05ef9d708518bb02fbf06beba2cc540d1e (patch)
tree2b926496c81740a80a135897f9dc52478375f51e /www/wwwoffle/MESSAGE
parent1c696fbff43d82e4898012df1ad774b9af066311 (diff)
downloadpkgsrc-6568ba05ef9d708518bb02fbf06beba2cc540d1e.tar.gz
Fix references to rc.d scripts. This package uses RCD_SCRIPTS
which installs to ${RCD_SCRIPTS_EXAMPLEDIR}. But the MESSAGE referred to wrong hard-coded location if the RCD_SCRIPTS_EXAMPLEDIR was not the default. So use RCD_SCRIPTS_EXAMPLEDIR instead. PKGREVISION not bumped because if someone had changed RCD_SCRIPTS_EXAMPLEDIR before recent change of autoregistration of rc.d script in PLIST, then it could not have been packaged in first place. Note that this commit does not imply that the MESSAGE is correct. In some cases, the MESSAGE is clearly wrong such as suggesting running the rc.d script from the example directory (which will work although).
Diffstat (limited to 'www/wwwoffle/MESSAGE')
-rw-r--r--www/wwwoffle/MESSAGE8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/wwwoffle/MESSAGE b/www/wwwoffle/MESSAGE
index 237ecf50189..528e14e25b8 100644
--- a/www/wwwoffle/MESSAGE
+++ b/www/wwwoffle/MESSAGE
@@ -1,13 +1,13 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.3 2002/09/24 12:30:51 wiz Exp $
+$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 reed Exp $
1) To enable "wwwwoffled" to start on boot on NetBSD-1.5 or newer,
-please copy "${PREFIX}/etc/rc.d/wwwoffled" to "/etc/rc.d/" and add
+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 ${PREFIX}/etc/rc.d/wwwoffle ]; then
- ${PREFIX}/etc/rc.d/wwwoffle
+if [ -x ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle ]; then
+ ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle
fi
2) The hooks are present to to use the package version of "htdig",