summaryrefslogtreecommitdiff
path: root/www/apache2
diff options
context:
space:
mode:
authorjlam <jlam>2002-03-06 20:21:38 +0000
committerjlam <jlam>2002-03-06 20:21:38 +0000
commite8f72e64618deb8f0d80a0e06b051bbe6ad5b342 (patch)
treed6b2bd297624803b9e54e39079f61fda2f889226 /www/apache2
parent60c66a92f3c599019507bac8f17045801e0bc9d3 (diff)
downloadpkgsrc-e8f72e64618deb8f0d80a0e06b051bbe6ad5b342.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/apache2')
-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