sysutils/pfstat: initialize pfstatd_enable in rc script.

This commit is contained in:
Jimmy Olgeni 2017-10-28 17:56:01 +00:00
parent 7455deb29c
commit ffb0c5fea3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453077
2 changed files with 4 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= pfstat PORTNAME= pfstat
PORTVERSION= 2.5 PORTVERSION= 2.5
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= sysutils net CATEGORIES= sysutils net
MASTER_SITES= http://www.benzedrine.cx/ MASTER_SITES= http://www.benzedrine.cx/

View file

@ -19,4 +19,7 @@ rcvar=pfstatd_enable
command="%%PREFIX%%/bin/${name}" command="%%PREFIX%%/bin/${name}"
load_rc_config ${name} load_rc_config ${name}
: ${pfstatd_enable:="NO"}
run_rc_command "$1" run_rc_command "$1"