summaryrefslogtreecommitdiff
path: root/www/apache6
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache6')
-rw-r--r--www/apache6/files/apache.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/apache6/files/apache.sh b/www/apache6/files/apache.sh
index 5c56ae0dd06..74d2fa9abec 100644
--- a/www/apache6/files/apache.sh
+++ b/www/apache6/files/apache.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: apache.sh,v 1.11 2001/12/26 22:03:38 jlam Exp $
+# $NetBSD: apache.sh,v 1.12 2002/02/05 06:04:42 jlam Exp $
#
# PROVIDE: apache
# REQUIRE: DAEMON
@@ -9,7 +9,7 @@
# To start apache at startup, copy this script to /etc/rc.d and set
# apache=YES in /etc/rc.conf.
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
@@ -31,7 +31,7 @@ start_cmd="${ctl_command} ${apache_start}"
stop_cmd="${ctl_command} stop"
restart_cmd="${ctl_command} restart"
-if [ -e /etc/rc.subr ]
+if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"