From 9b56caaef4c1fe0e559d6849e41abb0a80be16ef Mon Sep 17 00:00:00 2001 From: Max Laier Date: Tue, 31 Aug 2004 14:23:51 +0000 Subject: [PATCH] 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 --- etc/rc.d/pflog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/pflog b/etc/rc.d/pflog index 3a40525a97d..b89ab42b6e4 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'