- add -v to kldload to prevent loading accf_http module if it's statically
built into kernel Reported by: many
This commit is contained in:
parent
61695f6920
commit
a1241eaf2d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154234
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache22/files/Attic/apache.sh,v 1.12 2006-01-15 01:11:11 clement Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache22/files/Attic/apache.sh,v 1.13 2006-01-23 11:37:04 clement Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: apache22
|
||||
@ -52,7 +52,7 @@ apache22_accf() {
|
||||
retcode=0
|
||||
if checkyesno apache22_http_accept_enable
|
||||
then
|
||||
/sbin/kldstat | grep accf_http 2>&1 > /dev/null
|
||||
/sbin/kldstat -v | grep accf_http 2>&1 > /dev/null
|
||||
retcode=${?}
|
||||
if [ ${retcode} -ne 0 ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user