summaryrefslogtreecommitdiff
path: root/sysutils/pfstat/files/pfstatd.in
blob: 46ec60534ab2070094f8e2dce2aea656b58cca6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

#
# $FreeBSD$
#

# PROVIDE: pfstatd
# REQUIRE: DAEMON
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable pfstatd:
# pfstatd_enable (bool):      Set to "NO" by default.
#                             Set it to "YES" to enable pfstatd
. /etc/rc.subr

name="pfstatd"
rcvar=pfstatd_enable
command="%%PREFIX%%/bin/${name}"

load_rc_config ${name}
run_rc_command "$1"