dnsmasq: abort dhcp_check on interface state
authorDavid Bauer <mail@david-bauer.net>
Tue, 18 Aug 2020 13:09:22 +0000 (15:09 +0200)
committerDavid Bauer <mail@david-bauer.net>
Thu, 20 Aug 2020 21:45:26 +0000 (23:45 +0200)
commitaa403a440ad81b3430759d951cee1754ba5e4722
tree53876fb336f51b6d5047d849f158aa348c49a6ee
parent83b1e40561d2e243b757bb5608b0feeb839fe1fa
dnsmasq: abort dhcp_check on interface state

Abort the dhcp-check based on the interface instead of the carrier
state. In cases where the interface is up but the carrier is down,
netifd won't cause a dnsmasq reload, thus dhcp won't become active
on this interface.

Signed-off-by: David Bauer <mail@david-bauer.net>
package/network/services/dnsmasq/files/dnsmasq.init