summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-24 10:04:46 +0200
committerGitHub <noreply@github.com>2024-08-24 10:04:46 +0200
commit92c3b4a37888cc54a0219188643680b20f2d1b08 (patch)
tree80c470c44c4d892b40425e2a3d8c5fcd5f64fef4 /op-mode-definitions
parent00c7ef09b719bf70f6500389fec9eb161f231597 (diff)
parent31aa181d893561ebd45199e07d5e89450cc853fe (diff)
downloadvyos-1x-92c3b4a37888cc54a0219188643680b20f2d1b08.tar.gz
vyos-1x-92c3b4a37888cc54a0219188643680b20f2d1b08.zip
Merge pull request #4008 from vyos/mergify/bp/sagitta/pr-4003
T6561: Add vrf aware for show ntp (backport #4003)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/ntp.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/ntp.xml.in b/op-mode-definitions/ntp.xml.in
index 17250a45e..565a5edb5 100644
--- a/op-mode-definitions/ntp.xml.in
+++ b/op-mode-definitions/ntp.xml.in
@@ -6,25 +6,25 @@
<properties>
<help>Show peer status of NTP daemon</help>
</properties>
- <command>${vyos_op_scripts_dir}/ntp.py show_sourcestats</command>
+ <command>sudo ${vyos_op_scripts_dir}/ntp.py show_sourcestats</command>
<children>
<node name="activity">
<properties>
<help>Report the number of servers and peers that are online and offline</help>
</properties>
- <command>${vyos_op_scripts_dir}/ntp.py show_activity</command>
+ <command>sudo ${vyos_op_scripts_dir}/ntp.py show_activity</command>
</node>
<node name="sources">
<properties>
<help>Show information about the current time sources being accessed</help>
</properties>
- <command>${vyos_op_scripts_dir}/ntp.py show_sources</command>
+ <command>sudo ${vyos_op_scripts_dir}/ntp.py show_sources</command>
</node>
<node name="system">
<properties>
<help>Show parameters about the system clock performance</help>
</properties>
- <command>${vyos_op_scripts_dir}/ntp.py show_tracking</command>
+ <command>sudo ${vyos_op_scripts_dir}/ntp.py show_tracking</command>
</node>
</children>
</node>