mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Revert "Use unbound from ports, it should fix #4020"
This reverts commit f13df0e3f1.
This commit is contained in:
parent
f13df0e3f1
commit
cd7b929ac0
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user