summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ntp.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-15 07:59:05 +0100
committerGitHub <noreply@github.com>2023-01-15 07:59:05 +0100
commit0387c14c42dd4958d2296ce2e274f0d8a716f3ad (patch)
treed58d7bdd41881bb5b488f5b370c98375a17f9143 /op-mode-definitions/show-ntp.xml.in
parentda015473559f88e604b27ba66a2f4a9f95425bb2 (diff)
parent0d35a866ba12e66e504e1f575a04429c5d8cb9be (diff)
downloadvyos-1x-0387c14c42dd4958d2296ce2e274f0d8a716f3ad.tar.gz
vyos-1x-0387c14c42dd4958d2296ce2e274f0d8a716f3ad.zip
Merge pull request #1758 from c-po/t3008-chrony
ntp: T3008: migrate from ntpd to chrony
Diffstat (limited to 'op-mode-definitions/show-ntp.xml.in')
-rw-r--r--op-mode-definitions/show-ntp.xml.in17
1 files changed, 4 insertions, 13 deletions
diff --git a/op-mode-definitions/show-ntp.xml.in b/op-mode-definitions/show-ntp.xml.in
index 01f4477d8..0907722af 100644
--- a/op-mode-definitions/show-ntp.xml.in
+++ b/op-mode-definitions/show-ntp.xml.in
@@ -6,22 +6,13 @@
<properties>
<help>Show peer status of NTP daemon</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_ntp.sh --basic</command>
+ <command>${vyos_op_scripts_dir}/show_ntp.sh --sourcestats</command>
<children>
- <tagNode name="server">
+ <node name="system">
<properties>
- <help>Show date and time of specified NTP server</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_ntp_servers.sh</script>
- </completionHelp>
+ <help>Show parameters about the system clock performance</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_ntp.sh --server "$4"</command>
- </tagNode>
- <node name="info">
- <properties>
- <help>Show NTP operational summary</help>
- </properties>
- <command>${vyos_op_scripts_dir}/show_ntp.sh --info</command>
+ <command>${vyos_op_scripts_dir}/show_ntp.sh --tracking</command>
</node>
</children>
</node>