summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-03 21:33:40 +0000
committerphk <phk@FreeBSD.org>2003-10-03 21:33:40 +0000
commit150fde5f5c677558f66ef4c1c5e751b5d94d4eff (patch)
treea4bf0981d17acde543fcea93a43b46aea47fe36a /etc
parent77a7296c2f70c35fba28c25a85bc98503a9cd06c (diff)
downloadFreeBSD-src-150fde5f5c677558f66ef4c1c5e751b5d94d4eff.zip
FreeBSD-src-150fde5f5c677558f66ef4c1c5e751b5d94d4eff.tar.gz
Default ntpd to write a "driftfile" in /var/db/ntpd.drift.
A "driftfile" caches the oscillator offset estimate from boot to boot, having this means faster and less bumpy time synchronization. Will be overridden by any value in the config file.
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 1496afc..49e037f 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -207,7 +207,8 @@ ntpdate_program="/usr/sbin/ntpdate" # path to ntpdate, if you want a different o
ntpdate_flags="-b" # Flags to ntpdate (if enabled).
ntpd_enable="NO" # Run ntpd Network Time Protocol (or NO).
ntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different one.
-ntpd_flags="-p /var/run/ntpd.pid" # Flags to ntpd (if enabled).
+ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift"
+ # Flags to ntpd (if enabled).
# Network Information Services (NIS) options: All need rpcbind_enable="YES" ###
nis_client_enable="NO" # We're an NIS client (or NO).
OpenPOWER on IntegriCloud