projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fresh pull from upstream 17.01 branch
[librecmc/librecmc.git]
/
package
/
network
/
services
/
dnsmasq
/
files
/
dnsmasqsec.hotplug
1
#!/bin/sh
2
3
. /lib/functions/procd.sh
4
5
TIMEVALIDFILE="/var/state/dnsmasqsec"
6
7
[ "$ACTION" = stratum ] || exit 0
8
9
[ -f "$TIMEVALIDFILE" ] || {
10
echo "ntpd says time is valid" >$TIMEVALIDFILE
11
/etc/init.d/dnsmasq enabled && {
12
procd_send_signal dnsmasq
13
}
14
}