projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dnsmasq: switch to ubus-based hotplug call
[openwrt/staging/wigyori.git]
/
package
/
network
/
services
/
dnsmasq
/
files
/
dnsmasqsec.hotplug
diff --git
a/package/network/services/dnsmasq/files/dnsmasqsec.hotplug
b/package/network/services/dnsmasq/files/dnsmasqsec.hotplug
index 71f5e68b2ddc248f3a7d83a129566b1fab424a91..a59148600b5222833bd2fe7a55768dd89a007b19 100644
(file)
--- 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
}