Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/etc/rc.d Pull up following revision(s) (requested by mart...



details:   https://anonhg.NetBSD.org/src/rev/e8038e0b1f64
branches:  netbsd-9
changeset: 964236:e8038e0b1f64
user:      snj <snj%NetBSD.org@localhost>
date:      Mon Dec 28 16:00:19 2020 +0000

description:
Pull up following revision(s) (requested by martin in ticket #1164):

        etc/rc.d/ntpdate: revision 1.21

Adjust to "pool" usage in our standard ntp.conf, pointed out
by Connor McLaughlan.

diffstat:

 etc/rc.d/ntpdate |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 751580b25492 -r e8038e0b1f64 etc/rc.d/ntpdate
--- a/etc/rc.d/ntpdate  Sun Dec 27 14:07:13 2020 +0000
+++ b/etc/rc.d/ntpdate  Mon Dec 28 16:00:19 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ntpdate,v 1.20 2009/08/03 18:43:48 perry Exp $
+# $NetBSD: ntpdate,v 1.20.50.1 2020/12/28 16:00:19 snj Exp $
 #
 
 # PROVIDE: ntpdate
@@ -21,7 +21,7 @@
                ntpdate_hosts=$(awk '
                        /^#/                            { next }
                        /^(server|peer)[ \t]*127.127/   { next }
-                       /^(server|peer)/                { if ($2 ~ /^-[46]/)
+                       /^(server|peer|pool)/           { if ($2 ~ /^-[46]/)
                                                            print $3
                                                          else
                                                            print $2 }



Home | Main Index | Thread Index | Old Index