1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Add the rc.d script

Reported by:    pav
This commit is contained in:
Philip M. Gollucci 2010-09-15 23:42:41 +00:00
parent 52b14c0ee5
commit 2bdc9659e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261241

View File

@ -0,0 +1,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=`set_rcvar`
command="%%PREFIX%%/bin/${name}"
load_rc_config ${name}
run_rc_command "$1"