diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-08-31 14:23:51 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-08-31 14:23:51 +0000 |
commit | 07c612deeed1a0a85162274839c59b67c9aa472a (patch) | |
tree | 2abf899dd4e0495b5eefdf725a3cac1b46d7b462 | |
parent | b116d584ea395f417b843cb34ce21bb297e2eec7 (diff) | |
download | FreeBSD-src-07c612deeed1a0a85162274839c59b67c9aa472a.zip FreeBSD-src-07c612deeed1a0a85162274839c59b67c9aa472a.tar.gz |
Don't rely on properly setup linker.hints to figure out that pflog is now
part of the pf module.
While here fix a comment that was c'n'ped from rc.d/pf
PR: bin/71096 (partly)
Submitted by: Ville-Pertti Keinonen
MFC after: 2 days
-rw-r--r-- | etc/rc.d/pflog | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/pflog b/etc/rc.d/pflog index 3a40525..b89ab42 100644 --- a/etc/rc.d/pflog +++ b/etc/rc.d/pflog @@ -27,7 +27,7 @@ pflog_prestart() { # load pflog kernel module if needed if ! kldstat -v | grep -q pflog\$; then - if kldload pflog; then + if kldload pf; then info 'pflog module loaded.' else err 1 'pflog module failed to load.' @@ -39,7 +39,7 @@ pflog_prestart() warn 'pflog: COULD NOT SET UP pflog0' fi - # check for pf rules + # check for pflogd binary if [ ! -x "${pflog_program:-/sbin/pflogd}" ] then warn 'pflog: NO PFLOGD BINARY FOUND' |