summaryrefslogtreecommitdiff
path: root/www/apache/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache/files')
-rw-r--r--www/apache/files/apache.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh
index f888b10221d..6c12754c9be 100644
--- a/www/apache/files/apache.sh
+++ b/www/apache/files/apache.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: apache.sh,v 1.18 2002/03/18 12:15:37 abs Exp $
+# $NetBSD: apache.sh,v 1.19 2002/07/02 11:57:19 wiz Exp $
#
# PROVIDE: apache
# REQUIRE: DAEMON
@@ -48,7 +48,7 @@ apache_doit ()
${ctl_command} ${action}
}
-if [ -f /etc/rc.subr ]
+if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
then
load_rc_config $name
run_rc_command "$1"