dnsmasq: switch to ubus-based hotplug call
[openwrt/staging/wigyori.git] / package / network / services / dnsmasq / files / dnsmasqsec.hotplug
index 71f5e68b2ddc248f3a7d83a129566b1fab424a91..a59148600b5222833bd2fe7a55768dd89a007b19 100644 (file)
@@ -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
        }