dnsmasq: fix dnsmasq startup issue
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 20 Jun 2018 11:21:28 +0000 (13:21 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 20 Jun 2018 12:08:01 +0000 (14:08 +0200)
commiteb568e0abac158016c61fae68154722e9d112dfc
treef806355c7d1c63071c270ec8f966139578cc7e5b
parentda318f3522344ae3344b94c85dae41eeb53b04cc
dnsmasq: fix dnsmasq startup issue

Commit ecd954d530 installs specific interface triggers which rewrites the dnsmasq config
file and restarts dnsmasq if the network interface becomes active for which a trigger
has been installed.
In case no dhcp sections are specified or ignore is set to 1 dnsmasq will not be started
at startup which breaks DNS resolving.
Fix this by ditching the BOOT check in start_service and always start dnsmasq at startup.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init