Commit 141e0c99 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) register dhcpd leases doesn't always reload dhcpleases daemon...

parent b7183b6c
......@@ -1920,6 +1920,7 @@ function services_dnsmasq_configure()
$cmd = "/usr/local/sbin/dnsmasq --all-servers {$dns_rebind} {$args}";
//log_error("dnsmasq command: {$cmd}");
mwexec_bg($cmd);
system_dhcpleases_configure();
unset($args);
if (file_exists("/var/run/booting"))
......@@ -1949,6 +1950,7 @@ function services_unbound_configure()
sleep(1);
sync_unbound_service();
system_dhcpleases_configure();
if (file_exists("/var/run/booting"))
echo gettext("done.") . "\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment