From fec98887878a8de5ea412dc91ca22188aaa2b3c4 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 11 Oct 2004 22:14:51 +0000 Subject: RCD_SCRIPTS_EXAMPLEDIR was just changed to be a relative directory under ${PREFIX} instead of being an absolute path. So fix the references using RCD_SCRIPTS_EXAMPLEDIR to be ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}. This should have no changes to use before. Please note that the MESSAGE files in most cases are wrong in the first place. We have automated mechanisms and could have an automated message for explaining rc.d script usage. (This is something to do!) --- www/tinyproxy/MESSAGE | 4 ++-- www/wwwoffle/MESSAGE | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'www') diff --git a/www/tinyproxy/MESSAGE b/www/tinyproxy/MESSAGE index 582891cc9bf..cca6c62a371 100644 --- a/www/tinyproxy/MESSAGE +++ b/www/tinyproxy/MESSAGE @@ -1,10 +1,10 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.2 2004/04/23 22:43:20 reed Exp $ +$NetBSD: MESSAGE,v 1.3 2004/10/11 22:14:51 reed Exp $ To use tinyproxy, you will need to perform the following steps: 1. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy - ${RCD_SCRIPTS_EXAMPLEDIR}/tinyproxy to /etc/rc.d/tinyproxy and add + ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/tinyproxy to /etc/rc.d/tinyproxy and add tinyproxy=YES diff --git a/www/wwwoffle/MESSAGE b/www/wwwoffle/MESSAGE index 528e14e25b8..4702b8e0c4a 100644 --- a/www/wwwoffle/MESSAGE +++ b/www/wwwoffle/MESSAGE @@ -1,13 +1,13 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 reed Exp $ +$NetBSD: MESSAGE,v 1.5 2004/10/11 22:14:51 reed Exp $ 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 +please copy "${PREFIX}/${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 +if [ -x ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle ]; then + ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle fi 2) The hooks are present to to use the package version of "htdig", -- cgit v1.2.3