summaryrefslogtreecommitdiff
path: root/www/thttpd
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-09-20 02:01:54 +0000
committergrant <grant@pkgsrc.org>2002-09-20 02:01:54 +0000
commit0c5bb6abccb3648b1f581fba23732776a8a92829 (patch)
tree4d9e6b802d8404a55612d206bdb15d7e07e80a35 /www/thttpd
parent428690a394ebcecc7aaeea8041223c3b0d0d653d (diff)
downloadpkgsrc-0c5bb6abccb3648b1f581fba23732776a8a92829.tar.gz
Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@. as discussed with jlam.
Diffstat (limited to 'www/thttpd')
-rw-r--r--www/thttpd/files/thttpd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/thttpd/files/thttpd.sh b/www/thttpd/files/thttpd.sh
index bd5fb502b4e..f4ec02c8991 100644
--- a/www/thttpd/files/thttpd.sh
+++ b/www/thttpd/files/thttpd.sh
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: thttpd.sh,v 1.8 2002/02/05 06:04:43 jlam Exp $
+# $NetBSD: thttpd.sh,v 1.9 2002/09/20 02:02:02 grant Exp $
#
# PROVIDE: thttpd
# REQUIRE: DAEMON
@@ -12,7 +12,7 @@ fi
name="thttpd"
rcvar=$name
-command=@PREFIX@/sbin/${name}
+command="@PREFIX@/sbin/${name}"
command_args="-C @PKG_SYSCONFDIR@/${name}.conf"
required_files="@PKG_SYSCONFDIR@/${name}.conf"