mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
system: do not reload unbound/dnsmasq "hosts" by default
Number of people noted spurious restarts of Unbound and this seems to be the cause. However, the real cause of hammering rc.newwanip is in 797c18641944 and to avoid other side effects like the GIF/GRE stuff we should consider reverting part of it.
This commit is contained in:
parent
8974c4661a
commit
7aaa6a263b
@ -464,8 +464,6 @@ function system_hosts_generate($verbose = false)
|
||||
|
||||
file_put_contents('/etc/hosts', $hosts);
|
||||
|
||||
plugins_configure('hosts');
|
||||
|
||||
if ($verbose) {
|
||||
echo "done.\n";
|
||||
}
|
||||
|
||||
@ -49,6 +49,7 @@ function validate_partial_mac_list($maclist)
|
||||
function reconfigure_dhcpd()
|
||||
{
|
||||
system_hosts_generate();
|
||||
plugins_configure('hosts');
|
||||
clear_subsystem_dirty('hosts');
|
||||
dhcpd_dhcp4_configure();
|
||||
clear_subsystem_dirty('staticmaps');
|
||||
|
||||
@ -37,6 +37,7 @@ require_once("plugins.inc.d/dhcpd.inc");
|
||||
function reconfigure_dhcpd()
|
||||
{
|
||||
system_hosts_generate();
|
||||
plugins_configure('hosts');
|
||||
clear_subsystem_dirty('hosts');
|
||||
dhcpd_dhcp6_configure();
|
||||
clear_subsystem_dirty('staticmaps');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user