Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2016 23:05:45 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r295620 - stable/9/etc/rc.d
Message-ID:  <201602142305.u1EN5jSY030571@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Sun Feb 14 23:05:45 2016
New Revision: 295620
URL: https://svnweb.freebsd.org/changeset/base/295620

Log:
  MFC r295495 - Update leapsecond file in non-chroot environments.
  
  PR:		207095
  Submitted by:	madpilot

Modified:
  stable/9/etc/rc.d/ntpd
Directory Properties:
  stable/9/   (props changed)
  stable/9/etc/   (props changed)
  stable/9/etc/rc.d/   (props changed)

Modified: stable/9/etc/rc.d/ntpd
==============================================================================
--- stable/9/etc/rc.d/ntpd	Sun Feb 14 23:04:52 2016	(r295619)
+++ stable/9/etc/rc.d/ntpd	Sun Feb 14 23:05:45 2016	(r295620)
@@ -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?201602142305.u1EN5jSY030571>