mac80211 ozonet updates
[openwrt/.git] / package / network / services / dnsmasq / files / dnsmasqsec.hotplug
1 TIMEVALIDFILE="/var/state/dnsmasqsec"
2
3 [ "$ACTION" = "stratum" ] || exit 0
4
5 [ -f "$TIMEVALIDFILE" ] || {
6         echo "ntpd says time is valid" >$TIMEVALIDFILE
7         /etc/init.d/dnsmasq enabled && {
8                 . /lib/functions/procd.sh
9                 procd_send_signal dnsmasq '*' INT
10         }
11 }