aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2017-10-29 01:56:01 +0800
committerolgeni <olgeni@FreeBSD.org>2017-10-29 01:56:01 +0800
commitd90dcc5e1e440679f81ed646ed8c71188784528b (patch)
tree59d4f9b742fb20b5c4e42bd72ea4b95110c45c68 /sysutils
parente0f090da680ec207545d9d32a6ceb14a8bba1de5 (diff)
downloadfreebsd-ports-gnome-d90dcc5e1e440679f81ed646ed8c71188784528b.tar.gz
freebsd-ports-gnome-d90dcc5e1e440679f81ed646ed8c71188784528b.tar.zst
freebsd-ports-gnome-d90dcc5e1e440679f81ed646ed8c71188784528b.zip
sysutils/pfstat: initialize pfstatd_enable in rc script.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pfstat/Makefile2
-rw-r--r--sysutils/pfstat/files/pfstatd.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/pfstat/Makefile b/sysutils/pfstat/Makefile
index 7d4e84de7009..775e2185b813 100644
--- a/sysutils/pfstat/Makefile
+++ b/sysutils/pfstat/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pfstat
PORTVERSION= 2.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils net
MASTER_SITES= http://www.benzedrine.cx/
diff --git a/sysutils/pfstat/files/pfstatd.in b/sysutils/pfstat/files/pfstatd.in
index 46ec60534ab2..32a53878cbb3 100644
--- a/sysutils/pfstat/files/pfstatd.in
+++ b/sysutils/pfstat/files/pfstatd.in
@@ -19,4 +19,7 @@ rcvar=pfstatd_enable
command="%%PREFIX%%/bin/${name}"
load_rc_config ${name}
+
+: ${pfstatd_enable:="NO"}
+
run_rc_command "$1"