1294773Scy#!/bin/sh 2294773Scy# 3294773Scy# $FreeBSD: stable/11/etc/periodic/daily/480.leapfile-ntpd 325256 2017-11-01 01:03:44Z cy $ 4294773Scy# 5294773Scy 6294773Scy# If there is a global system configuration file, suck it in. 7294773Scy# 8294773Scyif [ -r /etc/defaults/periodic.conf ] 9294773Scythen 10294773Scy . /etc/defaults/periodic.conf 11294773Scy source_periodic_confs 12294773Scyfi 13294773Scy 14294773Scycase "$daily_ntpd_leapfile_enable" in 15294773Scy [Yy][Ee][Ss]) 16325256Scy if service ntpd oneneedfetch; then 17325256Scy anticongestion 18325256Scy service ntpd onefetch 19325256Scy fi 20317373Sasomers ;; 21294773Scyesac 22294773Scy 23294773Scyexit $rc 24