dnsmasq: don't use network functions at boottime (FS#1542)
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 17 Jul 2018 11:42:17 +0000 (13:42 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 17 Jul 2018 19:32:20 +0000 (21:32 +0200)
commit2336b942b37f265c59547d738ca558b61102833d
tree342347d327f15d40f59503606872a169eba3ea49
parent9019323ec1109d636b6e2ca9fe991dce45635f96
dnsmasq: don't use network functions at boottime (FS#1542)

As dnsmasq is started earlier than netifd usage of network.sh functions
at boottime will fail; therefore don't call at boottime the functions
which construct the dhcp pool/relay info.
As interface triggers are installed the dhcp pool/relay info will be
constructed when the interface gets reported as up by netifd.
At the same time also register interface triggers based on DHCP relay
config.

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