dnsmasq: improve init script
authorDaniel Golle <daniel@makrotopia.org>
Sun, 31 Oct 2021 12:54:06 +0000 (12:54 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 31 Oct 2021 13:07:48 +0000 (13:07 +0000)
commita2fcd3900c0c7c168c4d3c04da189e408860483d
tree4b47f27c64b3b45169ffdf7b2216948178430972
parent61a36cefd67732c5d5e51fb3140c80aac3dda555
dnsmasq: improve init script

 * fix restart in LuCI (inherited umask was to restrictive)
 * make directory of hosts-file (!= /tmp) accessible in ujail

Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/services/dnsmasq/files/dnsmasq.init