aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2013-05-11 01:38:02 +0800
committerlme <lme@FreeBSD.org>2013-05-11 01:38:02 +0800
commit8fb955fa151b2ab9930719b57ed9099ea0097f60 (patch)
tree04657e98b537576f41c64d8fbf5c45625ddd568b /security
parent073a161f85ef5faa3b923aa2e61af3752b0ee9ca (diff)
downloadfreebsd-ports-gnome-8fb955fa151b2ab9930719b57ed9099ea0097f60.tar.gz
freebsd-ports-gnome-8fb955fa151b2ab9930719b57ed9099ea0097f60.tar.zst
freebsd-ports-gnome-8fb955fa151b2ab9930719b57ed9099ea0097f60.zip
Fix rc script.
PR: ports/178488 Submitted by: maintainer
Diffstat (limited to 'security')
-rw-r--r--security/barnyard2/files/barnyard2.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/barnyard2/files/barnyard2.in b/security/barnyard2/files/barnyard2.in
index b3ad5ac2c873..d518151ca847 100644
--- a/security/barnyard2/files/barnyard2.in
+++ b/security/barnyard2/files/barnyard2.in
@@ -24,6 +24,9 @@
name="barnyard2"
rcvar=barnyard2_enable
+
+load_rc_config $name
+
# set some defaults
: ${barnyard2_enable="NO"}
: ${barnyard2_conf="%%PREFIX%%/etc/barnyard2.conf"}
@@ -32,8 +35,6 @@ rcvar=barnyard2_enable
command="%%PREFIX%%/bin/barnyard2"
command_args="-c ${barnyard2_conf} -D"
-load_rc_config $name
-
if [ -n "${barnyard2_rules}" ];then
_1=$1
rc=0