[pkg-ntp-maintainers] [pkg-ntp] 06/06: Support pool statement in ntpdate-debian

Bernhard Schmidt berni at moszumanska.debian.org
Fri Mar 31 21:19:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

berni pushed a commit to branch berni-wip
in repository pkg-ntp.

commit 20a3fe7e10be11be2ba8c2a980d7a8f48da6e533
Author: Bernhard Schmidt <berni at debian.org>
Date:   Fri Mar 31 23:10:46 2017 +0200

    Support pool statement in ntpdate-debian
    
    Closes: #854432, #823120
---
 debian/ntpdate-debian | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/ntpdate-debian b/debian/ntpdate-debian
index e76d5ab..d9d1792 100644
--- a/debian/ntpdate-debian
+++ b/debian/ntpdate-debian
@@ -14,7 +14,7 @@ if [ "$NTPDATE_USE_NTP_CONF" = yes ]; then
 		fi
 	done
 	if [ -n "$file" ]; then
-		NTPSERVERS=$(sed -rne 's/^(servers?|peer)[[:space:]]+(-[46][[:space:]]+)?([-_.:[:alnum:]]+).*$/\3/p' "$file" | grep -v '^127\.127\.') || [ $? -le 1 ]
+		NTPSERVERS=$(sed -rne 's/^(servers?|peer|pool)[[:space:]]+(-[46][[:space:]]+)?([-_.:[:alnum:]]+).*$/\3/p' "$file" | grep -v '^127\.127\.') || [ $? -le 1 ]
 	fi
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ntp/pkg-ntp.git



More information about the pkg-ntp-maintainers mailing list