From 6a4b451a11263d63626eeb53b09df55bc1705454 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Wed, 11 Jan 2017 00:14:47 +0000 Subject: [PATCH] Follow r311103: add "pool" to the keywords that rc.d/ntpdate examines to find a server address in ntp.conf. Submitted by: Ronald Klop Pointy hat to: ian --- etc/rc.d/ntpdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.d/ntpdate b/etc/rc.d/ntpdate index 8f5b273d0fa2..90f9589ab00f 100755 --- a/etc/rc.d/ntpdate +++ b/etc/rc.d/ntpdate @@ -20,7 +20,7 @@ ntpdate_start() if [ -z "$ntpdate_hosts" -a -f "$ntpdate_config" ]; then ntpdate_hosts=`awk ' /^server[ \t]*127.127/ {next} - /^(server|peer)/ { + /^(server|peer|pool)/ { if ($2 ~/^-/) {print $3} else {print $2}} ' < "$ntpdate_config"`