From 9db289a02892cd4dc02e8233c699428a6febc64f Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 13 Sep 2023 19:10:41 +0100 Subject: op mode: T5582: Add 'force ntp synchronization' (cherry picked from commit 8e5931c94a4ee409424ba092777a1a9ce03768d7) --- op-mode-definitions/ntp.xml.in | 38 +++++++++++++++++++++++++++++++++++++ op-mode-definitions/show-ntp.xml.in | 21 -------------------- 2 files changed, 38 insertions(+), 21 deletions(-) create mode 100644 op-mode-definitions/ntp.xml.in delete mode 100644 op-mode-definitions/show-ntp.xml.in diff --git a/op-mode-definitions/ntp.xml.in b/op-mode-definitions/ntp.xml.in new file mode 100644 index 000000000..ca0e5db08 --- /dev/null +++ b/op-mode-definitions/ntp.xml.in @@ -0,0 +1,38 @@ + + + + + + + Show peer status of NTP daemon + + ${vyos_op_scripts_dir}/show_ntp.sh --sourcestats + + + + Show parameters about the system clock performance + + ${vyos_op_scripts_dir}/show_ntp.sh --tracking + + + + + + + + + + NTP (Network Time Protocol) operations + + + + + Force NTP time synchronization + + sudo chronyc makestep + + + + + + diff --git a/op-mode-definitions/show-ntp.xml.in b/op-mode-definitions/show-ntp.xml.in deleted file mode 100644 index 0907722af..000000000 --- a/op-mode-definitions/show-ntp.xml.in +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - Show peer status of NTP daemon - - ${vyos_op_scripts_dir}/show_ntp.sh --sourcestats - - - - Show parameters about the system clock performance - - ${vyos_op_scripts_dir}/show_ntp.sh --tracking - - - - - - -- cgit v1.2.3