summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-02 11:41:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-02 11:41:10 +0000
commitae1ef4f15034fad5792e86c04cbb292defd94617 (patch)
tree1ed985a6f9856ee807954999c55eb028e633f998 /tools
parent9ecdbc8c648b39497a42fa14709ad4a1f191b6af (diff)
downloaddrakx-ae1ef4f15034fad5792e86c04cbb292defd94617.tar
drakx-ae1ef4f15034fad5792e86c04cbb292defd94617.tar.gz
drakx-ae1ef4f15034fad5792e86c04cbb292defd94617.tar.bz2
drakx-ae1ef4f15034fad5792e86c04cbb292defd94617.tar.xz
drakx-ae1ef4f15034fad5792e86c04cbb292defd94617.zip
update ntp servers list
Diffstat (limited to 'tools')
-rw-r--r--tools/ntp_servers.pl9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/ntp_servers.pl b/tools/ntp_servers.pl
index ccd470f42..62640557c 100644
--- a/tools/ntp_servers.pl
+++ b/tools/ntp_servers.pl
@@ -3,7 +3,12 @@
open F, "links -dump http://www.eecis.udel.edu/~mills/ntp/clock1.htm|";
open G, "links -dump http://www.eecis.udel.edu/~mills/ntp/clock2.htm|";
-parse() while <F>;
+# Chris Kloiber <ckloiber@redhat.com> writes:
+# > It's not considered polite to use the Stratum 1 servers for purposes that
+# > are not absolutely critical. I would use Stratum 2 servers and live with
+# > the few nanoseconds difference.
+#parse() while <F>;
+
parse() while <G>;
sub parse {
@@ -42,7 +47,7 @@ foreach (grep { $_->{policy} eq 'open access' } @all) {
($country, $state) = split ' ', $_->{indic};
$country = ucfirst(lc $country_codes{$country});
$country .= " $state" if $state;
- print lc($_->{name}), " $country\n";
+ print "$country (", lc($_->{name}), ")\n";
}
BEGIN {