components/ntp/patches/40-ntpwait.patch
changeset 1467 f14b6c5766ca
parent 172 093198acf7d4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ntp/patches/40-ntpwait.patch	Fri Aug 16 06:35:08 2013 -0700
@@ -0,0 +1,18 @@
+This change allows ntp-wait to work with more versions
+of NTP, since the format changed slightly. It can be removed
+at the next upgrade since there will be no possibility 
+of running an older ntp with the old format.
+
+--- scripts/ntp-wait.in
++++ scripts/ntp-wait.in
+@@ -20,8 +20,8 @@
+     while(<Q>) {
+       chomp;
+       # the first line should be similar to:
+-      # associd=0 status=0645 leap_none, sync_ntp, ...
+-      if (/^asso?c?id=0 status=(\S{4}) (\S+), (\S+),/i) {
++      # status=0645 leap_none, sync_ntp, ...
++      if (/status=(\S{4}) (\S+), (\S+),/i) {
+ 	my $status = $1;
+ 	my $leap = $2;
+ 	my $sync = $3;