svn commit: r317833 - head/security/barnyard2/files
Lars Engels
lme at FreeBSD.org
Fri May 10 17:38:03 UTC 2013
Author: lme
Date: Fri May 10 17:38:02 2013
New Revision: 317833
URL: http://svnweb.freebsd.org/changeset/ports/317833
Log:
Fix rc script.
PR: ports/178488
Submitted by: maintainer
Modified:
head/security/barnyard2/files/barnyard2.in (contents, props changed)
Modified: head/security/barnyard2/files/barnyard2.in
==============================================================================
--- head/security/barnyard2/files/barnyard2.in Fri May 10 17:34:56 2013 (r317832)
+++ head/security/barnyard2/files/barnyard2.in Fri May 10 17:38:02 2013 (r317833)
@@ -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
More information about the svn-ports-head
mailing list