Date: Thu, 11 Feb 2016 01:16:57 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295495 - head/etc/rc.d Message-ID: <201602110116.u1B1GvGq064412@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Thu Feb 11 01:16:57 2016 New Revision: 295495 URL: https://svnweb.freebsd.org/changeset/base/295495 Log: Update leapsecond file in non-chroot environments. PR: 207095 Submitted by: madpilot MFC after: 3 days Modified: head/etc/rc.d/ntpd Modified: head/etc/rc.d/ntpd ============================================================================== --- head/etc/rc.d/ntpd Thu Feb 11 00:34:11 2016 (r295494) +++ head/etc/rc.d/ntpd Thu Feb 11 01:16:57 2016 (r295495) @@ -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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602110116.u1B1GvGq064412>