summaryrefslogtreecommitdiff
path: root/www/wwwoffle/files
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-08-29 09:25:40 +0000
committerjmmv <jmmv@pkgsrc.org>2003-08-29 09:25:40 +0000
commit23d819065cdbc1006e79e8dcbebd44e0a0d72f59 (patch)
tree8dee9b41115be0bc8e2b292edd3513265fb4f2f8 /www/wwwoffle/files
parent2cc35f7448087e971d1429a1eaec9bd576c6e8fd (diff)
downloadpkgsrc-23d819065cdbc1006e79e8dcbebd44e0a0d72f59.tar.gz
Use bsd.pkg.install.mk to handle generation and installation of the rc.d
script. Bump PKGREVISION to 1.
Diffstat (limited to 'www/wwwoffle/files')
-rw-r--r--www/wwwoffle/files/wwwoffled.sh (renamed from www/wwwoffle/files/wwwoffled)7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/wwwoffle/files/wwwoffled b/www/wwwoffle/files/wwwoffled.sh
index 7bb72402af9..bb7df162551 100644
--- a/www/wwwoffle/files/wwwoffled
+++ b/www/wwwoffle/files/wwwoffled.sh
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: wwwoffled,v 1.4 2002/08/10 17:03:27 fredb Exp $
+# $NetBSD: wwwoffled.sh,v 1.1 2003/08/29 09:25:41 jmmv Exp $
#
# PROVIDE: wwwoffled
# REQUIRE: DAEMON network
+#
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
@@ -31,6 +32,6 @@ if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
load_rc_config $name
run_rc_command "$1"
else
- echo -n ' ${name}'
+ printf " ${name}"
${start_cmd}
fi