From owner-cvs-src@FreeBSD.ORG Tue Sep 14 03:04:51 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 874B116A4CE; Tue, 14 Sep 2004 03:04:51 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20FD743D45; Tue, 14 Sep 2004 03:04:51 +0000 (GMT) (envelope-from seanc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8E34oEh099578; Tue, 14 Sep 2004 03:04:50 GMT (envelope-from seanc@repoman.freebsd.org) Received: (from seanc@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8E34oLC099577; Tue, 14 Sep 2004 03:04:50 GMT (envelope-from seanc) Message-Id: <200409140304.i8E34oLC099577@repoman.freebsd.org> From: Sean Chittenden Date: Tue, 14 Sep 2004 03:04:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/rc.d ntpdate X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 03:04:51 -0000 seanc 2004-09-14 03:04:50 UTC FreeBSD src repository (doc,ports committer) Removed files: etc/rc.d ntpdate Log: Stop using ntpdate(1) in our startup procedure. Replace ntpdate(1) with calls to ntpd -g. ntpd is noticeably slower than ntpdate, but is also more accurate. This removes the nasty hackery in rc.d/ntpdate that would parse out ntp servers from /etc/ntp.conf (ntpd knows how to read its own config file). By default, ntpd *will* sync with its listed time servers. To turn this off so that ntpd does not sync, ntpd_sync_on_start="NO" can be added to /etc/rc.conf. If ntpd is not enabled (the default), then time is not synced on startup. ntpdate has been depreciated by the ntpd authors for quite some time so this change shouldn't be unexpected. Suggested by: des Approved by: roberto (resident ntp guru) Revision Changes Path 1.10 +0 -33 src/etc/rc.d/ntpdate (dead)