diff options
author | des <des@FreeBSD.org> | 2015-01-25 15:44:46 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2015-01-25 15:44:46 +0000 |
commit | 3fef9601c6ee3dca76a74c534be9f7ec338bbf2c (patch) | |
tree | c94b789f37344f35563d05a6f544b3e45386a10c /etc | |
parent | c3a22f55db5a43d2e7a21f3c9adfe17fd2b3f95f (diff) | |
download | FreeBSD-src-3fef9601c6ee3dca76a74c534be9f7ec338bbf2c.zip FreeBSD-src-3fef9601c6ee3dca76a74c534be9f7ec338bbf2c.tar.gz |
Allow the user to specify the location of control.conf.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/local_unbound | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.d/local_unbound b/etc/rc.d/local_unbound index ed69c19..d8eef7d 100755 --- a/etc/rc.d/local_unbound +++ b/etc/rc.d/local_unbound @@ -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} } |