From ea791ae51dd21cd56c25bc80f56add1f9515488c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 22 May 2005 00:01:09 +0000 Subject: mute console when bringing up pflogd --- etc/inc/filter.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 4ea36e4..325b217 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -44,9 +44,13 @@ function filter_resync() { function filter_pflog_start() { global $config, $g; + mute_kernel_msgs(); + mwexec("/sbin/ifconfig pflog0 up && pflogd -sD"); mwexec_bg("/usr/sbin/tcpdump -n -e -ttt -i pflog0 | logger -t pf -p local0.info"); + + unmute_kernel_msgs(); } -- cgit v1.1