Date: Wed, 1 Jun 2016 02:19:25 +0000 From: Colin Percival <cperciva@tarsnap.com> To: Cy Schubert <cy@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r294773 - in head/etc: . defaults periodic/daily rc.d Message-ID: <0100015509c222f8-c06226e9-5bcb-446f-8fe4-d87e55e296c6-000000@email.amazonses.com> In-Reply-To: <201601260706.u0Q76iWk015311@repo.freebsd.org> References: <201601260706.u0Q76iWk015311@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0100015509c222f8-c06226e9-5bcb-446f-8fe4-d87e55e296c6-000000>