dnsmasq: rework jail mounts
authorDaniel Golle <daniel@makrotopia.org>
Sun, 1 Aug 2021 02:33:52 +0000 (03:33 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 1 Aug 2021 02:47:43 +0000 (03:47 +0100)
commit59c63224e11d6c4eca27131a73bf16218e47a271
treeb5b1f3aa96c43844956714b22508c6cedd0fc014
parent191c4ff5e1d045c6a4f9086acfa77e6e14e1f17c
dnsmasq: rework jail mounts

 * split into multiple lines to improve readability
 * use EXTRA_MOUNT for addnhosts instead of blindly adding /tmp/hosts
 * remove no longer needed mount for /sbin/hotplug-call
 * add dhcp-script.sh dependencies (jshn, ubus)

Fixes: 3a94c2ca5c ("dnsmasq: add /tmp/hosts/ to jail_mount")
Fixes: aed95c4cb8 ("dnsmasq: switch to ubus-based hotplug call")
Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/services/dnsmasq/files/dnsmasq.init