When you need to dig deep into NTP sync status.
Signed-off-by: Bruno Thomsen <[email protected]>
---
Changes since version 1:
- Fixed yoda style subject line.
- Replace ptx/ifdef with ptx/endis for explicit options.
This outputs unrecognized options, but we still get expected result.
Unrecognized option : --disable-debug
Unrecognized option : --enable-cmdmon
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 6e79270e5..4f8c89a69 100644
--- a/rules/chrony.in
+++ b/rules/chrony.in
@@ -36,6 +36,13 @@ config CHRONY_RUN_AS_NON_ROOT
Default chronyd is started as root, select this
to run service with chrony user.
+config CHRONY_ADVANCED_COMMAND
+ bool
+ prompt "Enable advanced monitoring command"
+ help
+ This allow getting advanced NTP sync status
+ monitoring from the service.
+
comment "install options ---"
config CHRONY_INSTALL_CHRONY_COMMAND
diff --git a/rules/chrony.make b/rules/chrony.make
index b28eeb196..ba05ee2e6 100644
--- a/rules/chrony.make
+++ b/rules/chrony.make
@@ -43,7 +43,8 @@ CHRONY_CONF_OPT := \
--$(call ptx/wwo, PTXCONF_CHRONY_USE_NETTLE)-nettle \
--without-nss \
--without-tomcrypt \
- --disable-cmdmon \
+ --$(call ptx/endis, PTXCONF_CHRONY_ADVANCED_COMMAND)-cmdmon \
+ --$(call ptx/endis, PTXCONF_CHRONY_ADVANCED_COMMAND)-debug \
--enable-ntp \
--disable-refclock \
--disable-phc \
--
2.26.2
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]