summaryrefslogtreecommitdiff
path: root/www/apache24/files/apache24.in
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2016-01-18 19:44:47 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2016-01-18 19:44:47 +0000
commitdffb271b7165395f4118d5a01391be51c354a655 (patch)
tree030eab0d448ec069a1922251193e43714536fb28 /www/apache24/files/apache24.in
parent- fix ab buid with OpenSSL from ports and SSL3 disabled [1] (diff)
- use new $opt-target
- improve kldstat check - use new defined postexec, preunexec in pkg-plist with hat apache@
Notes
Notes: svn path=/head/; revision=406607
Diffstat (limited to 'www/apache24/files/apache24.in')
-rw-r--r--www/apache24/files/apache24.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache24/files/apache24.in b/www/apache24/files/apache24.in
index 768e5cdc8218..1f585050db3c 100644
--- a/www/apache24/files/apache24.in
+++ b/www/apache24/files/apache24.in
@@ -52,8 +52,8 @@ envvars="%%PREFIX%%/sbin/envvars"
apache24_accf()
{
if checkyesno apache24_http_accept_enable; then
- /sbin/kldstat -v | grep accf_http > /dev/null 2>&1 || /sbin/kldload accf_http || return ${?}
- /sbin/kldstat -v | grep accf_data > /dev/null 2>&1 || /sbin/kldload accf_data || return ${?}
+ /sbin/kldstat -qm accf_http || /sbin/kldload accf_http || return ${?}
+ /sbin/kldstat -qm accf_data || /sbin/kldload accf_data || return ${?}
else
apache24_flags="${apache24_flags} -DNOHTTPACCEPT"
fi