mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge branch 'master' of https://github.com/wagonza/pfsense into wagonza
This commit is contained in:
commit
38e9197673
@ -1864,6 +1864,8 @@ function services_dnsmasq_configure() {
|
||||
mwexec_bg($cmd);
|
||||
unset($args);
|
||||
|
||||
system_dhcpleases_configure();
|
||||
|
||||
if ($g['booting'])
|
||||
echo gettext("done.") . "\n";
|
||||
}
|
||||
@ -1903,6 +1905,8 @@ function services_unbound_configure() {
|
||||
sync_unbound_service();
|
||||
if ($g['booting'])
|
||||
echo gettext("done.") . "\n";
|
||||
|
||||
system_dhcpleases_configure();
|
||||
}
|
||||
|
||||
if (!$g['booting']) {
|
||||
|
||||
@ -381,8 +381,6 @@ function system_hosts_generate() {
|
||||
unbound_hosts_generate();
|
||||
}
|
||||
|
||||
system_dhcpleases_configure();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -427,6 +427,9 @@ function do_as_unbound_user($cmd) {
|
||||
case "stop":
|
||||
mwexec("echo '/usr/local/sbin/unbound-control stop' | /usr/bin/su -m unbound", true);
|
||||
break;
|
||||
case "reload":
|
||||
mwexec("echo '/usr/local/sbin/unbound-control reload' | /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);
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user