Fresh pull from upstream
[librecmc/package-feed.git] / net / unbound / files / unbound.ntpd
index 9244284d85d7a554eb94e9fb2b1fa49b315e80f8..d744cb06705b1fc37298d136538db29116f9b602 100755 (executable)
 
 ##############################################################################
 
-if [ "$ACTION" = stratum -a ! -f "$UNBOUND_TIMEFILE" ] \
-  && /etc/init.d/dnsmasq enabled ; then
-  #
+if [ "$ACTION" = stratum -a ! -f "$UNBOUND_TIMEFILE" ] ; then
   echo "ntpd: $( date )" > $UNBOUND_TIMEFILE
-  /etc/init.d/unbound restart
+  /etc/init.d/unbound enabled && /etc/init.d/unbound restart
+  # Yes, hard RESTART. We need to be absolutely sure to enable DNSSEC.
 fi
 
 ##############################################################################