diff options
author | Warren Baker <warren@decoy.co.za> | 2014-01-30 12:03:20 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2014-01-30 12:03:20 +0200 |
commit | 327a4fc65f7bd1ca4c3ee4622857c1efedd3088e (patch) | |
tree | 32f5bdfecef2aa25959cb6772315499b2e423990 /etc/inc/unbound.inc | |
parent | 8e552911a4ad5da0c9ed5439f259f2f6ea9de9a3 (diff) | |
download | pfsense-327a4fc65f7bd1ca4c3ee4622857c1efedd3088e.zip pfsense-327a4fc65f7bd1ca4c3ee4622857c1efedd3088e.tar.gz |
Make sure unbound starts
Diffstat (limited to 'etc/inc/unbound.inc')
-rw-r--r-- | etc/inc/unbound.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc index 008f845..936d965 100644 --- a/etc/inc/unbound.inc +++ b/etc/inc/unbound.inc @@ -346,7 +346,7 @@ function do_as_unbound_user($cmd) { switch ($cmd) { case "start": - exec("echo '/usr/sbin/unbound-control -c{$g['unbound_chroot_path']}/unbound.conf start' | /usr/bin/su -m unbound"); + mwexec("/usr/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); |