svn commit: r295619 - stable/10/etc/rc.d
Cy Schubert
cy at FreeBSD.org
Sun Feb 14 23:04:54 UTC 2016
Author: cy
Date: Sun Feb 14 23:04:52 2016
New Revision: 295619
URL: https://svnweb.freebsd.org/changeset/base/295619
Log:
MFC r295495 - Update leapsecond file in non-chroot environments.
PR: 207095
Submitted by: madpilot
Approved by: re (marius)
Modified:
stable/10/etc/rc.d/ntpd
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/etc/rc.d/ntpd
==============================================================================
--- stable/10/etc/rc.d/ntpd Sun Feb 14 22:37:28 2016 (r295618)
+++ stable/10/etc/rc.d/ntpd Sun Feb 14 23:04:52 2016 (r295619)
@@ -28,14 +28,14 @@ ntpd_precmd()
rc_flags="-g $rc_flags"
fi
- if [ -z "$ntpd_chrootdir" ]; then
- return 0;
- fi
-
if [ ! -f $ntp_db_leapfile ]; then
ntpd_fetch_leapfile
fi
+ if [ -z "$ntpd_chrootdir" ]; then
+ return 0;
+ fi
+
# If running in a chroot cage, ensure that the appropriate files
# exist inside the cage, as well as helper symlinks into the cage
# from outside.
More information about the svn-src-stable
mailing list