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>
Mon, 2 Aug 2021 20:42:16 +0000 (21:42 +0100)
commitb88ab440367c15260406851fab4df72eb99ba9b9
treeee5ec126c94975c016cd70d1c3fa7af540020d38
parent8ef58941974dd05fdbbdf4f315df976fce16a0b6
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>
(cherry picked from commit 59c63224e11d6c4eca27131a73bf16218e47a271)
package/network/services/dnsmasq/files/dnsmasq.init