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>
Tue, 19 Nov 2024 21:11:06 +0000 (21:11 +0000)
commit3b25cc89c6197c2154e3ef0fcd363f7e2ca46e3d
tree7082401e93994f408e770893643ff80f4a4c060a
parent2c5354b215493ba02ecc0ca4308adbd65631c940
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