From 25bfd9d1eeb0021e507095722dadac91a8b55c10 Mon Sep 17 00:00:00 2001 From: Bruno Thomsen Date: Fri, 31 Jul 2020 18:11:40 +0200 Subject: chrony: advanced monitoring command option When you need to dig deep into NTP sync status. Signed-off-by: Bruno Thomsen Message-Id: <20200731161141.6155-6-bruno.thomsen@gmail.com> Signed-off-by: Michael Olbrich --- rules/chrony.in | 7 +++++++ rules/chrony.make | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/rules/chrony.in b/rules/chrony.in index 44c12b423..2f906d2ce 100644 --- a/rules/chrony.in +++ b/rules/chrony.in @@ -29,6 +29,13 @@ config CHRONY_USE_NETTLE Use nettle crypto library for stronger keys than MD5 in NTP authentication. +config CHRONY_ADVANCED_COMMAND + bool + prompt "Enable advanced monitoring command" + help + This allows getting advanced NTP time synchronization + status monitoring from the service. + comment "install options ---" config CHRONY_INSTALL_CHRONY_COMMAND diff --git a/rules/chrony.make b/rules/chrony.make index 51141059c..4d6f58f3b 100644 --- a/rules/chrony.make +++ b/rules/chrony.make @@ -48,7 +48,8 @@ CHRONY_CONF_OPT := \ $(call ptx/ifdef, PTXCONF_CHRONY_USE_NETTLE,,--without-nettle) \ --without-nss \ --without-tomcrypt \ - --disable-cmdmon \ + $(call ptx/ifdef, PTXCONF_CHRONY_ADVANCED_COMMAND,,--disable-cmdmon) \ + $(call ptx/ifdef, PTXCONF_CHRONY_ADVANCED_COMMAND,--enable-debug,) \ --disable-refclock \ --disable-phc \ --disable-pps \ -- cgit v1.2.3