dnsmasq: use hostsdir instead of addn-hosts
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 10 May 2019 19:14:59 +0000 (20:14 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Thu, 16 May 2024 20:53:31 +0000 (21:53 +0100)
commitf7f1422b7c59337eafcd21105fcd089747ab3827
tree4fcf8fb7627edc357b48b038dc7c5e49a3a7ea6b
parent6c1a8b53d599a6989084e9b2e975ff98866b2584
dnsmasq: use hostsdir instead of addn-hosts

dnsmasq will dynamically scan changes/additions to hosts in hostsdir whereas
addn-hosts needs a SIGHUP.

While here, tell the init script to use a hidden file whilst it builds
the hosts files so dnsmasq isn't constantly refreshing during startup.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
package/network/services/dnsmasq/files/dnsmasq.init