summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorabs <abs>2002-03-18 12:15:37 +0000
committerabs <abs>2002-03-18 12:15:37 +0000
commitbb3ee20133130c30927b247f438418f72532d652 (patch)
tree6305aa4d51ba7d20059c3cbc116d4c6951581d53 /www
parent76f2388e08d26e7452756817cfefc035c09a89f3 (diff)
downloadpkgsrc-bb3ee20133130c30927b247f438418f72532d652.tar.gz
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
Diffstat (limited to 'www')
-rw-r--r--www/apache/files/apache.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh
index 605b9c4a56f..f888b10221d 100644
--- a/www/apache/files/apache.sh
+++ b/www/apache/files/apache.sh
@@ -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