summaryrefslogtreecommitdiffstats
path: root/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-18 09:21:26 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-11-18 09:21:26 -0200
commitcd7b929ac0ee324b96baabcd216cf303be937db7 (patch)
tree35b3010fb6fc8895d16edf1504d2fed4636ffc3c /etc/inc/unbound.inc
parentf13df0e3f1bf45d8dab01805f757e623165c044f (diff)
downloadpfsense-cd7b929ac0ee324b96baabcd216cf303be937db7.zip
pfsense-cd7b929ac0ee324b96baabcd216cf303be937db7.tar.gz
Revert "Use unbound from ports, it should fix #4020"
This reverts commit f13df0e3f1bf45d8dab01805f757e623165c044f.
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 eb62744..969d686 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/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_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_MODULE: unbound
*/
@@ -422,16 +422,16 @@ function do_as_unbound_user($cmd) {
switch ($cmd) {
case "start":
- mwexec("/usr/local/sbin/unbound -c {$g['unbound_chroot_path']}/unbound.conf");
+ mwexec("/usr/sbin/unbound -c {$g['unbound_chroot_path']}/unbound.conf");
break;
case "stop":
- mwexec("echo '/usr/local/sbin/unbound-control stop' | /usr/bin/su -m unbound", true);
+ mwexec("echo '/usr/sbin/unbound-control stop' | /usr/bin/su -m unbound", true);
break;
case "unbound-anchor":
- mwexec("echo '/usr/local/sbin/unbound-anchor -a {$g['unbound_chroot_path']}/root.key' | /usr/bin/su -m unbound", true);
+ mwexec("echo '/usr/sbin/unbound-anchor -a {$g['unbound_chroot_path']}/root.key' | /usr/bin/su -m unbound", true);
break;
case "unbound-control-setup":
- mwexec("echo '/usr/local/sbin/unbound-control-setup -d {$g['unbound_chroot_path']}' | /usr/bin/su -m unbound", true);
+ mwexec("echo '/usr/sbin/unbound-control-setup -d {$g['unbound_chroot_path']}' | /usr/bin/su -m unbound", true);
break;
default:
break;
OpenPOWER on IntegriCloud