summaryrefslogtreecommitdiff
path: root/www/wwwoffle
diff options
context:
space:
mode:
authorreed <reed>2004-04-23 22:43:20 +0000
committerreed <reed>2004-04-23 22:43:20 +0000
commite3fbdfddaeeab28a716a3bfb72af32d62732a58f (patch)
tree2b926496c81740a80a135897f9dc52478375f51e /www/wwwoffle
parentaebd8f5ea4fb4b9046582d9113c048e180e9c616 (diff)
downloadpkgsrc-e3fbdfddaeeab28a716a3bfb72af32d62732a58f.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')
-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",