summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-03-06 20:21:38 +0000
committerjlam <jlam@pkgsrc.org>2002-03-06 20:21:38 +0000
commitea5c83babc0c38c13a802fd13321bcb7f9aad7e0 (patch)
treed6b2bd297624803b9e54e39079f61fda2f889226 /www
parentc87846bc91c31dcaba1b3f72811686df10c7de74 (diff)
downloadpkgsrc-ea5c83babc0c38c13a802fd13321bcb7f9aad7e0.tar.gz
Have a default value for apache_start so it doesn't need to be specified
in /etc/rc.conf.
Diffstat (limited to 'www')
-rw-r--r--www/apache2/files/apache.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/apache2/files/apache.sh b/www/apache2/files/apache.sh
index ab4773e7dae..e7dfe82b1ef 100644
--- a/www/apache2/files/apache.sh
+++ b/www/apache2/files/apache.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: apache.sh,v 1.1 2002/03/05 23:56:22 jlam Exp $
+# $NetBSD: apache.sh,v 1.2 2002/03/06 20:21:38 jlam Exp $
#
# PROVIDE: apache
# REQUIRE: DAEMON
@@ -32,6 +32,8 @@ restart_cmd="apache_doit restart"
# in order of increasing precedence. Its possible values are "start"
# and "startssl", and defaults to "start".
#
+apache_start=start
+
apache_doit ()
{
case $1 in