summaryrefslogtreecommitdiffstats
path: root/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-18 18:40:53 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-11-18 18:40:53 -0200
commit3ba077846e56459715e1f78a8e538797a890f49b (patch)
treea67947e59f20033f3fbc6fc094f8c401b3e504cd /etc/inc/unbound.inc
parent3f5e1542ab51964902cb1f79da0ec7f323f93644 (diff)
downloadpfsense-3ba077846e56459715e1f78a8e538797a890f49b.zip
pfsense-3ba077846e56459715e1f78a8e538797a890f49b.tar.gz
Revert "Revert "Use unbound from ports, it should fix #4020""
This reverts commit cd7b929ac0ee324b96baabcd216cf303be937db7.
Diffstat (limited to 'etc/inc/unbound.inc')
-rw-r--r--etc/inc/unbound.inc12
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;
OpenPOWER on IntegriCloud