Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2016 09:02:23 +0000 (UTC)
From:      =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r294786 - stable/10/etc/rc.d
Message-ID:  <201601260902.u0Q92NNe050180@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Tue Jan 26 09:02:23 2016
New Revision: 294786
URL: https://svnweb.freebsd.org/changeset/base/294786

Log:
  MFH (r277706): allow the user to specify the location of control.conf

Modified:
  stable/10/etc/rc.d/local_unbound
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/rc.d/local_unbound
==============================================================================
--- stable/10/etc/rc.d/local_unbound	Tue Jan 26 08:58:59 2016	(r294785)
+++ stable/10/etc/rc.d/local_unbound	Tue Jan 26 09:02:23 2016	(r294786)
@@ -30,6 +30,7 @@ load_rc_config $name
 : ${local_unbound_config:=${local_unbound_workdir}/unbound.conf}
 : ${local_unbound_flags:="-c ${local_unbound_config}"}
 : ${local_unbound_forwardconf:=${local_unbound_workdir}/forward.conf}
+: ${local_unbound_controlconf:=${local_unbound_workdir}/control.conf}
 : ${local_unbound_anchor:=${local_unbound_workdir}/root.key}
 : ${local_unbound_forwarders:=}
 
@@ -68,6 +69,7 @@ local_unbound_setup()
 	    -w ${local_unbound_workdir} \
 	    -c ${local_unbound_config} \
 	    -f ${local_unbound_forwardconf} \
+	    -o ${local_unbound_controlconf} \
 	    -a ${local_unbound_anchor} \
 	    ${local_unbound_forwarders}
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601260902.u0Q92NNe050180>