summaryrefslogtreecommitdiff
path: root/op-mode-definitions/restart-ntp.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/restart-ntp.xml.in')
-rw-r--r--op-mode-definitions/restart-ntp.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/restart-ntp.xml.in b/op-mode-definitions/restart-ntp.xml.in
index 961fae252..8713dd147 100644
--- a/op-mode-definitions/restart-ntp.xml.in
+++ b/op-mode-definitions/restart-ntp.xml.in
@@ -6,7 +6,7 @@
<properties>
<help>Restart NTP service</help>
</properties>
- <command>if cli-shell-api existsActive service ntp; then sudo systemctl restart chrony.service; else echo "Service NTP not configured"; fi</command>
+ <command>if cli-shell-api existsActive service ntp; then systemctl restart chrony.service; else echo "Service NTP not configured"; fi</command>
</node>
</children>
</node>