aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq/files/dnsmasqsec.hotplug
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-01-01 12:47:11 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-02-08 00:57:14 +0000
commitaed95c4cb8d5a55a795910a759d08e1393f8d967 (patch)
tree9751fbfb0f7475fcce4544934d6e71ac413ac4ac /package/network/services/dnsmasq/files/dnsmasqsec.hotplug
parent29a6a71d52738af9552bd77763f10e912a7eb9f0 (diff)
downloadupstream-aed95c4cb8d5a55a795910a759d08e1393f8d967.tar.gz
upstream-aed95c4cb8d5a55a795910a759d08e1393f8d967.tar.bz2
upstream-aed95c4cb8d5a55a795910a759d08e1393f8d967.zip
dnsmasq: switch to ubus-based hotplug call
Use new ubus-based hotplug call in dhcp-script.sh As sysntpd now makes use of the new ubus-based hotplug calls, dnsmasq no longer needs to ship ACL to cover ntpd-hotplug. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/network/services/dnsmasq/files/dnsmasqsec.hotplug')
-rw-r--r--package/network/services/dnsmasq/files/dnsmasqsec.hotplug1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasqsec.hotplug b/package/network/services/dnsmasq/files/dnsmasqsec.hotplug
index 71f5e68b2d..a59148600b 100644
--- a/package/network/services/dnsmasq/files/dnsmasqsec.hotplug
+++ b/package/network/services/dnsmasq/files/dnsmasqsec.hotplug
@@ -5,6 +5,7 @@ TIMEVALIDFILE="/var/state/dnsmasqsec"
[ -f "$TIMEVALIDFILE" ] || {
echo "ntpd says time is valid" >$TIMEVALIDFILE
/etc/init.d/dnsmasq enabled && {
+ initscript=dnsmasq
. /lib/functions/procd.sh
procd_send_signal dnsmasq '*' INT
}