From 6718d8cd70c3a32803d843550284a8f35ff6c5d7 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 2 Jul 2002 11:57:19 +0000 Subject: Test some more files before using 1.5 rc.subr features. Closes pkg/17378 by Greg A. Woods. --- www/apache/files/apache.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/apache') 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" -- cgit v1.2.3