dnsmasq: use hostsdir instead of addn-hosts
authorKevin Darbyshire-Bryant <[email protected]>
Fri, 10 May 2019 19:14:59 +0000 (20:14 +0100)
committerKevin Darbyshire-Bryant <[email protected]>
Fri, 5 Dec 2025 17:40:48 +0000 (17:40 +0000)
commitd3de3086febecd87e586f2618fac60fa3f67187f
tree71c971b825d45a753451afb8263fd6ebfff1a7a4
parent47c0c616895d4aa333635cb99d13ec808b44b276
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 <[email protected]>
package/network/services/dnsmasq/files/dnsmasq.init