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:07:19 +0000 (14:07 +0200)
commit0e84393ee27bc2c209863a0a006dea8b716cfb11
tree0f134ed6b1410e00e50e5fdad23c9bdfaf44b593
parent969fe206bdb910789bebd064d4b3be00238b0012
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