mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
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:
parent
d620298cbe
commit
0063b16b3e
@ -51,7 +51,7 @@ function dnsmasq_services()
|
||||
|
||||
$services = [];
|
||||
|
||||
if (!dnsmasq_enabled()) {
|
||||
if (!dnsmasq_enabled() && !isvalidpid('/var/run/dnsmasq.pid')) {
|
||||
return $services;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user