summaryrefslogtreecommitdiff
path: root/www/thttpd
diff options
context:
space:
mode:
authorgrant <grant>2002-09-20 02:01:54 +0000
committergrant <grant>2002-09-20 02:01:54 +0000
commitd97b19f8ae501f74ea2f7d9a5cd475ab951dcd06 (patch)
tree4d9e6b802d8404a55612d206bdb15d7e07e80a35 /www/thttpd
parente10f3d235fbdc528120925fe68d930401bd51938 (diff)
downloadpkgsrc-d97b19f8ae501f74ea2f7d9a5cd475ab951dcd06.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"