diff options
Diffstat (limited to 'www/apache/files/apache.sh')
-rw-r--r-- | www/apache/files/apache.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh index 7e5db5799bc..3b69568e607 100644 --- a/www/apache/files/apache.sh +++ b/www/apache/files/apache.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: apache.sh,v 1.15 2001/12/26 22:03:38 jlam Exp $ +# $NetBSD: apache.sh,v 1.16 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" |