diff options
author | wiz <wiz> | 2002-07-02 11:57:19 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-07-02 11:57:19 +0000 |
commit | 59a0b6688aa3fb9d2b8c5e82a52c3b2dda81663d (patch) | |
tree | 7aec273241c54211fcdf4577ff4eaefe7ab6d034 /www | |
parent | e0b536ad56b66611c967651d50ca34c5e11b6efd (diff) | |
download | pkgsrc-59a0b6688aa3fb9d2b8c5e82a52c3b2dda81663d.tar.gz |
Test some more files before using 1.5 rc.subr features.
Closes pkg/17378 by Greg A. Woods.
Diffstat (limited to 'www')
-rw-r--r-- | www/apache/files/apache.sh | 4 |
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" |