NetBSD-4.0 default install has issues with loading the pf module, so omit this stage.
This commit is contained in:
parent
a16428da20
commit
34a675f4d9
@ -18,10 +18,6 @@ start()
|
|||||||
ebegin "Starting ${name}"
|
ebegin "Starting ${name}"
|
||||||
if type kldload >/dev/null 2>&1; then
|
if type kldload >/dev/null 2>&1; then
|
||||||
kldload pf 2>/dev/null
|
kldload pf 2>/dev/null
|
||||||
elif type modload >/dev/null 2>&1; then
|
|
||||||
if ! modstat -n pf >/dev/null; then
|
|
||||||
modload /usr/lkm/pf.o >/dev/null
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
pfctl -q -F all
|
pfctl -q -F all
|
||||||
pfctl -q -f "${pf_conf}" ${pf_args}
|
pfctl -q -f "${pf_conf}" ${pf_args}
|
||||||
|
Loading…
Reference in New Issue
Block a user