7 # REQUIRE: FILESYSTEMS netif FILESYSTEMS
14 command="/sbin/pflogd"
15 pidfile="/var/run/pflogd.pid"
16 start_precmd="pflog_prestart"
17 stop_postcmd="pflog_poststop"
18 extra_commands="reload resync"
20 # for backward compatibility
21 resync_cmd="pflog_resync"
25 load_kld pflog || return 1
27 # set pflog0 interface to up state
28 if ! ifconfig pflog0 up; then
29 warn 'could not bring up pflog0.'
33 # prepare the command line for pflogd
34 rc_flags="-f $pflog_logfile $rc_flags"
36 # report we're ready to run pflogd
42 if ! ifconfig pflog0 down; then
43 warn 'could not bring down pflog0.'
49 # for backward compatibility