From 4de440ff25470c93433516557a2b99183ed76f03 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 10 Oct 2019 08:35:26 +0200 Subject: xntpd: ignore more lines appearing on backup --- xntpd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xntpd b/xntpd index dcd665a..d68b6d8 100644 --- a/xntpd +++ b/xntpd @@ -64,6 +64,10 @@ while (defined(my $ThisLine = )) { } chomp($ThisLine); if ( + ($ThisLine =~ /ntp engine (ready|exiting)/) or + ($ThisLine =~ /no reply received in time, skipping initial time setting/) or + ($ThisLine =~ /constraint configured without libtls support/) or + ($ThisLine =~ /Terminating/) or ($ThisLine =~ m/tickadj = /) or # startup ($ThisLine =~ m/precision = /) or # startup ($ThisLine =~ m/ (succeeded|failed)/) or # startup @@ -71,6 +75,9 @@ while (defined(my $ThisLine = )) { ($ThisLine =~ m/kernel time (discipline|sync) status/) or # startup ($ThisLine =~ m/kernel time sync (dis|en)abled /) or # startup ($ThisLine =~ m/frequency initialized/) or # startup + ($ThisLine =~ /adjusting clock frequency by -?[0-9.]+ to [0-9.]+ppm/) or + ($ThisLine =~ /peer [0-9.a-f:]\+ now valid/) or + ($ThisLine =~ /clock is now synced/) or ($ThisLine =~ m/using kernel phase-lock loop/) or # startup ($ThisLine =~ m/0\.0\.0\.0 [[:xdigit:]]{4} [[:xdigit:]]{2} /) or # startup ($ThisLine =~ m/select([^\)]) error: Interrupted system call/) or -- cgit v1.2.3-54-g00ecf