summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-02-15 09:46:16 -0200
committerRenato Botelho <renato@netgate.com>2016-02-15 09:46:16 -0200
commit51145f6d236c6fef7e3df24ff1ed1947de914e58 (patch)
tree461add4658cb859338055f2682faabe5ac7b1c37 /etc
parentc5df3d0f11ca3b170da878cdd4782fc603c15460 (diff)
parent744ea196e52f4821042acc2a9b289ee54aea5202 (diff)
downloadFreeBSD-src-51145f6d236c6fef7e3df24ff1ed1947de914e58.zip
FreeBSD-src-51145f6d236c6fef7e3df24ff1ed1947de914e58.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/ntpd8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.d/ntpd b/etc/rc.d/ntpd
index 7f28358..fe2fc4b 100755
--- a/etc/rc.d/ntpd
+++ b/etc/rc.d/ntpd
@@ -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.
OpenPOWER on IntegriCloud