From 002af1b13a6fe1e33b9ce605087f4e7c6a1b186f Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Tue, 8 Feb 2011 23:34:02 +0100 Subject: [PATCH] [openntpd] Ajout serveur ntp secondaire (pour les bornes wifi...) darcs-hash:20110208223402-ffbb2-f2ff24fb63486c55462968e239be1cb2dbedb9cd.gz --- Python/etc/openntpd/ntpd.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Python/etc/openntpd/ntpd.conf b/Python/etc/openntpd/ntpd.conf index 33f7668..1a25cc1 100644 --- a/Python/etc/openntpd/ntpd.conf +++ b/Python/etc/openntpd/ntpd.conf @@ -13,6 +13,18 @@ if has("ntp-server"): @# use a random selection of 8 public stratum 2 servers @# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers @servers pool.ntp.org +elif has("secondary-ntp-server"): + @# Addresses to listen on (ntpd does not listen by default) + @listen on * + @#listen on 127.0.0.1 + @#listen on ::1 + @ + @# sync to a single server + @server ntp.adm.crans.org + @ + @# use a random selection of 8 public stratum 2 servers + @# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers + @#servers pool.ntp.org else: @# Addresses to listen on (ntpd does not listen by default) @#listen on *