On 01/25/16 23:06, Cy Schubert wrote: > Author: cy > Date: Tue Jan 26 07:06:44 2016 > New Revision: 294773 > URL: https://svnweb.freebsd.org/changeset/base/294773 > > Log: > Add support for automatic leap-second file updates. > [...] > Added: head/etc/periodic/daily/480.leapfile-ntpd > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/etc/periodic/daily/480.leapfile-ntpd Tue Jan 26 07:06:44 2016 > (r294773) > [...] > + case "$daily_ntpd_avoid_congestion" in > + [Yy][Ee][Ss]) > + # Avoid dogpiling > + (sleep $(jot -r 1 0 86400); service ntpd fetch) & > + ;; > + *) > + service ntpd fetch > + ;;
Can we change this to 'service ntpd onefetch'? If someone turns on this periodic script, I think it's safe to assume that they want it to run, even if they don't have ntpd running. (In my case, I have some systems where `ntpd -q` runs from cron but I don't want to leave the daemon running continuously.) -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"