dnsmasq: migrate to MVC/API, make sure service is reachable when still running and disabled so we can kill it, although not a new issue, better fix it for https://github.com/opnsense/core/issues/7905

This commit is contained in:
Ad Schellevis 2025-02-15 16:47:31 +01:00
parent d620298cbe
commit 0063b16b3e

View File

@ -51,7 +51,7 @@ function dnsmasq_services()
$services = [];
if (!dnsmasq_enabled()) {
if (!dnsmasq_enabled() && !isvalidpid('/var/run/dnsmasq.pid')) {
return $services;
}