From 9f759c2a2fd538246c3c6e3ffc0a14d0c8b0ab64 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Thu, 16 Nov 2006 13:07:12 +0000 Subject: when pf and pflogd are enabled, do a "ifconfig pflog0 create" early. rc checks pflog0 existance before starting pflogd0, pbly to not print an error message on pflog-less kernels... ugh. ok mcbride --- etc/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/rc b/etc/rc index 44e567f7d3a..7893094d591 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.293 2006/11/06 21:55:52 deraadt Exp $ +# $OpenBSD: rc,v 1.294 2006/11/16 13:07:11 henning Exp $ # System startup script run by init on autoboot # or after single-user. @@ -301,6 +301,7 @@ fi syslogd ${syslogd_flags} if [ X"${pf}" != X"NO" -a X"${pflogd_flags}" != X"NO" ]; then + ifconfig pflog0 create >/dev/null 2>&1 if ifconfig pflog0 >/dev/null 2>&1; then ifconfig pflog0 up pflogd ${pflogd_flags} -- cgit v1.2.3