diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-11-18 08:50:13 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-11-18 08:50:13 -0200 |
commit | f13df0e3f1bf45d8dab01805f757e623165c044f (patch) | |
tree | 685083ede7ffd6ee56549aed527771f65faa5f72 /etc/inc/unbound.inc | |
parent | 8fde4ae8be00bfe7f9cfec107f6566413f41b5f7 (diff) | |
download | pfsense-f13df0e3f1bf45d8dab01805f757e623165c044f.zip pfsense-f13df0e3f1bf45d8dab01805f757e623165c044f.tar.gz |
Use unbound from ports, it should fix #4020
Diffstat (limited to 'etc/inc/unbound.inc')
-rw-r--r-- | etc/inc/unbound.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc index 969d686..eb62744 100644 --- a/etc/inc/unbound.inc +++ b/etc/inc/unbound.inc @@ -26,8 +26,8 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - pfSense_BUILDER_BINARIES: /usr/sbin/unbound /usr/sbin/unbound-anchor /usr/sbin/unbound-checkconf - pfSense_BUILDER_BINARIES: /usr/sbin/unbound-control /usr/sbin/unbound-control-setup + pfSense_BUILDER_BINARIES: /usr/local/sbin/unbound /usr/local/sbin/unbound-anchor /usr/local/sbin/unbound-checkconf + pfSense_BUILDER_BINARIES: /usr/local/sbin/unbound-control /usr/local/sbin/unbound-control-setup pfSense_MODULE: unbound */ @@ -422,16 +422,16 @@ function do_as_unbound_user($cmd) { switch ($cmd) { case "start": - mwexec("/usr/sbin/unbound -c {$g['unbound_chroot_path']}/unbound.conf"); + mwexec("/usr/local/sbin/unbound -c {$g['unbound_chroot_path']}/unbound.conf"); break; case "stop": - mwexec("echo '/usr/sbin/unbound-control stop' | /usr/bin/su -m unbound", true); + mwexec("echo '/usr/local/sbin/unbound-control stop' | /usr/bin/su -m unbound", true); break; case "unbound-anchor": - mwexec("echo '/usr/sbin/unbound-anchor -a {$g['unbound_chroot_path']}/root.key' | /usr/bin/su -m unbound", true); + mwexec("echo '/usr/local/sbin/unbound-anchor -a {$g['unbound_chroot_path']}/root.key' | /usr/bin/su -m unbound", true); break; case "unbound-control-setup": - mwexec("echo '/usr/sbin/unbound-control-setup -d {$g['unbound_chroot_path']}' | /usr/bin/su -m unbound", true); + mwexec("echo '/usr/local/sbin/unbound-control-setup -d {$g['unbound_chroot_path']}' | /usr/bin/su -m unbound", true); break; default: break; |