3 # $NetBSD: pf_boot,v 1.3 2008/11/12 12:35:52 ad Exp $
7 # REQUIRE: root bootconf mountcritlocal tty
10 $_rc_subr_loaded .
/etc
/rc.subr
14 start_cmd
="pf_boot_start"
19 if [ "$autoboot" != "yes" ]; then
20 err
1 "This script should only be executed at boot time."
23 if [ -f /etc
/pf.boot.conf
]; then
24 /sbin
/pfctl
-q -f /etc
/pf.boot.conf
25 elif [ -f /etc
/defaults
/pf.boot.conf
]; then
26 /sbin
/pfctl
-q -f /etc
/defaults
/pf.boot.conf
28 warn
"can't load initial pf rules; pf start aborted."