dnsmasq: always inform about disabled dhcp service
authorPetr Štetiar <ynezz@true.cz>
Tue, 28 Apr 2020 15:00:58 +0000 (17:00 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 29 Apr 2020 22:52:04 +0000 (00:52 +0200)
commitb17a5a9bdb9f6f5ff73ceee0265b3f5de943d1bb
treeaa33ba48934df008946c8a6496ef564f4ac1f4bb
parentaa0526b5f27c9c9edad719dd9c521ef4dae10a00
dnsmasq: always inform about disabled dhcp service

Init script checks for an already active DHCP server on the interface
and if such DHCP server is found, then it logs "refusing to start DHCP"
message, starts dnsmasq without DHCP service unless `option force 1` is
set and caches the DHCP server check result.

Each consecutive service start then uses this cached DHCP server check
result, but doesn't provide log feedback about disabled DHCP service
anymore.

So this patch ensures, that the log message about disabled DHCP service
on particular interface is always provided.

Acked-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/network/services/dnsmasq/files/dnsmasq.init