From owner-freebsd-net@FreeBSD.ORG Fri Jun 5 13:02:48 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB220106566C; Fri, 5 Jun 2009 13:02:47 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp113-58.static.internode.on.net [150.101.113.58]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD9C8FC17; Fri, 5 Jun 2009 13:02:47 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id 9390E45094; Fri, 5 Jun 2009 22:44:28 +1000 (EST) Date: Fri, 5 Jun 2009 22:44:28 +1000 From: Edwin Groothuis To: freebsd-net@freebsd.org, roberto@freebsd.org Message-ID: <20090605124428.GA85576@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: NTP - default /etc/ntp.conf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 13:02:48 -0000 After pondering at conf/58595, I came with this text. The ntpd is not enabled by default, so the fact that the servers are commented out should not be an issue. Any objections against adding it to the tree? Index: etc/ntp.conf =================================================================== --- etc/ntp.conf (revision 0) +++ etc/ntp.conf (revision 0) @@ -0,0 +1,28 @@ +# +# $FreeBSD$ +# +# Default NTP servers for the FreeBSD operating system. +# +# Don't forget to enable ntpd in /etc/rc.conf with: +# ntpd_enable="YES" +# + +driftfile /var/db/ntpd.drift + +# +# Uncomment the following three lines to sync against three "local" +# public NTP servers. +# +# server pool.ntp.org +# server pool.ntp.org +# server pool.ntp.org + +# +# If you want to pick yourself which country's public NTP server +# you want sync against, comment out the above servers, uncomment +# the next ones and replace CC with the country's abbrevation. +# +# server CC.pool.ntp.org +# server CC.pool.ntp.org +# server CC.pool.ntp.org +# Index: etc/Makefile =================================================================== --- etc/Makefile (revision 193485) +++ etc/Makefile (working copy) @@ -14,7 +14,7 @@ hosts hosts.allow hosts.equiv \ inetd.conf libalias.conf login.access login.conf mac.conf motd \ netconfig network.subr networks newsyslog.conf nsswitch.conf \ - phones profile protocols \ + ntpd.conf phones profile protocols \ rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless \ rc.sendmail rc.shutdown \ rc.subr remote rpc services shells \ -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/