diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-09-15 23:42:41 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-09-15 23:42:41 +0000 |
commit | 2bdc9659e8c51b18c552d16f134a21472ebec907 (patch) | |
tree | ebe1d368a7abbd341c3942c1d0105b6564ccf4fb /sysutils/pfstat | |
parent | 52b14c0ee567397fe2df0d34c908ddcfca202b2d (diff) | |
download | ports-2bdc9659e8c51b18c552d16f134a21472ebec907.tar.gz ports-2bdc9659e8c51b18c552d16f134a21472ebec907.zip |
- Add the rc.d script
Reported by: pav
Notes
Notes:
svn path=/head/; revision=261241
Diffstat (limited to 'sysutils/pfstat')
-rw-r--r-- | sysutils/pfstat/files/pfstatd.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/pfstat/files/pfstatd.in b/sysutils/pfstat/files/pfstatd.in new file mode 100644 index 000000000000..3164373ede6d --- /dev/null +++ b/sysutils/pfstat/files/pfstatd.in @@ -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" |