svn commit: r277706 - head/etc/rc.d

Dag-Erling Smørgrav des at FreeBSD.org
Sun Jan 25 15:44:47 UTC 2015


Author: des
Date: Sun Jan 25 15:44:46 2015
New Revision: 277706
URL: https://svnweb.freebsd.org/changeset/base/277706

Log:
  Allow the user to specify the location of control.conf.

Modified:
  head/etc/rc.d/local_unbound

Modified: head/etc/rc.d/local_unbound
==============================================================================
--- head/etc/rc.d/local_unbound	Sun Jan 25 15:09:52 2015	(r277705)
+++ head/etc/rc.d/local_unbound	Sun Jan 25 15:44:46 2015	(r277706)
@@ -26,6 +26,7 @@ pidfile="/var/run/${name}.pid"
 : ${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:=}
 
@@ -66,6 +67,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}
 }


More information about the svn-src-head mailing list