If we do not have /etc/rc.subr then call apache_doit "$1" not eval ${start_cmd} - "/etc/rc.d/apache restart" and friends work again on Linux
This commit is contained in:
parent
3ada46a527
commit
ae2edbe9ce
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: apache.sh,v 1.17 2002/02/26 20:28:41 jlam Exp $
|
||||
# $NetBSD: apache.sh,v 1.18 2002/03/18 12:15:37 abs Exp $
|
||||
#
|
||||
# PROVIDE: apache
|
||||
# REQUIRE: DAEMON
|
||||
|
@ -53,5 +53,5 @@ then
|
|||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
else
|
||||
eval ${start_cmd}
|
||||
apache_doit "$1"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue