From 77e8ad5714390b6d999d9fcfc8dd8683acdcb91e Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 3 Oct 2003 21:33:40 +0000 Subject: [PATCH] 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. --- etc/defaults/rc.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 1496afcefc91..49e037ff2946 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).