svn commit: r294786 - stable/10/etc/rc.d

Dag-Erling Smørgrav des at FreeBSD.org
Tue Jan 26 09:02:25 UTC 2016


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}
 }


More information about the svn-src-all mailing list