summaryrefslogtreecommitdiff
path: root/www/thttpd/files
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-22 18:34:54 +0000
committerjlam <jlam@pkgsrc.org>2004-02-22 18:34:54 +0000
commitdda8edf0535ddc173e3320dc9dfb6640f83343bb (patch)
treec4101c588c99e9b3a3f32db61d256870e4f8063e /www/thttpd/files
parenta14e55809b5db70b54a0e71b8c863eadee7bd80c (diff)
downloadpkgsrc-dda8edf0535ddc173e3320dc9dfb6640f83343bb.tar.gz
bl3ify and general touch-up
Diffstat (limited to 'www/thttpd/files')
-rw-r--r--www/thttpd/files/thttpd.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/www/thttpd/files/thttpd.sh b/www/thttpd/files/thttpd.sh
index f4ec02c8991..16d042b4cbd 100644
--- a/www/thttpd/files/thttpd.sh
+++ b/www/thttpd/files/thttpd.sh
@@ -1,12 +1,11 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: thttpd.sh,v 1.9 2002/09/20 02:02:02 grant Exp $
+# $NetBSD: thttpd.sh,v 1.10 2004/02/22 18:34:54 jlam Exp $
#
# PROVIDE: thttpd
# REQUIRE: DAEMON
-if [ -f /etc/rc.subr ]
-then
+if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
@@ -16,8 +15,7 @@ command="@PREFIX@/sbin/${name}"
command_args="-C @PKG_SYSCONFDIR@/${name}.conf"
required_files="@PKG_SYSCONFDIR@/${name}.conf"
-if [ -f /etc/rc.subr ]
-then
+if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else