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:
parent
52b14c0ee5
commit
2bdc9659e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261241
22
sysutils/pfstat/files/pfstatd.in
Normal file
22
sysutils/pfstat/files/pfstatd.in
Normal 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"
|
Loading…
Reference in New Issue
Block a user