summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-05 04:37:26 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-05 04:37:26 +0000
commit01083322cb97b64bd84d028e75ff299ebbb9e866 (patch)
treedfbc4e5abbc2fb8dbc5ab430ee26352518cbc2ca /net-misc/ntp/files
parentadd arm to KEYWORDS and touch up DESCRIPTION (Manifest recommit) (diff)
downloadgentoo-2-01083322cb97b64bd84d028e75ff299ebbb9e866.tar.gz
gentoo-2-01083322cb97b64bd84d028e75ff299ebbb9e866.tar.bz2
gentoo-2-01083322cb97b64bd84d028e75ff299ebbb9e866.zip
update default config files with smarter default options #59463
Diffstat (limited to 'net-misc/ntp/files')
-rw-r--r--net-misc/ntp/files/ntp-client.confd4
-rw-r--r--net-misc/ntp/files/ntp.conf12
2 files changed, 8 insertions, 8 deletions
diff --git a/net-misc/ntp/files/ntp-client.confd b/net-misc/ntp/files/ntp-client.confd
index 37ffb6469b8b..c4fd9362efcc 100644
--- a/net-misc/ntp/files/ntp-client.confd
+++ b/net-misc/ntp/files/ntp-client.confd
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client.confd,v 1.6 2004/07/24 05:44:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client.confd,v 1.7 2004/08/05 04:37:26 vapier Exp $
# Command to run to set the clock initially
# Most people should just leave this line alone ...
@@ -12,7 +12,7 @@ NTPCLIENT_CMD="ntpdate"
# Most people should just uncomment this variable and
# change 'someserver' to a valid hostname which you
# can aquire from the URL's below
-#NTPCLIENT_OPTS="-Q -b someserver"
+NTPCLIENT_OPTS="-Q -b pool.ntp.org"
# How long to wait (in seconds) before giving up.
# Useful for when you boot and DNS/internet isn't
diff --git a/net-misc/ntp/files/ntp.conf b/net-misc/ntp/files/ntp.conf
index 26c63b210195..ce6ee7d8d733 100644
--- a/net-misc/ntp/files/ntp.conf
+++ b/net-misc/ntp/files/ntp.conf
@@ -9,6 +9,8 @@
# Please respect the access policy as stated by the responsible person.
#server ntp.example.tld iburst
+server pool.ntp.org
+
##
# A list of available servers can be found here:
# http://www.pool.ntp.org/
@@ -27,15 +29,13 @@ driftfile /var/lib/ntp/ntp.drift
# If you want to deny all machines (including your own)
# from accessing the NTP server, uncomment:
-#
#restrict default ignore
-# To only deny other machines from changing the
-# configuration but allow localhost uncomment:
-#
-#restrict default notrust nomodify
-#restrict 127.0.0.1
+# To deny other machines from changing the
+# configuration but allow localhost:
+restrict default notrust nomodify
+restrict 127.0.0.1
# To allow machines within your network to synchronize