diff options
author | Daniil Baturin <daniil@baturin.org> | 2023-09-13 19:10:41 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2023-09-13 19:10:41 +0100 |
commit | 8e5931c94a4ee409424ba092777a1a9ce03768d7 (patch) | |
tree | 5e071bbbdc95122563014dc70973432327b94c24 /op-mode-definitions | |
parent | e8fb2d22c45fcc47511aadb4140a66ce9e9661d5 (diff) | |
download | vyos-1x-8e5931c94a4ee409424ba092777a1a9ce03768d7.tar.gz vyos-1x-8e5931c94a4ee409424ba092777a1a9ce03768d7.zip |
op mode: T5582: Add 'force ntp synchronization'
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/ntp.xml.in (renamed from op-mode-definitions/show-ntp.xml.in) | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ntp.xml.in b/op-mode-definitions/ntp.xml.in index 0907722af..ca0e5db08 100644 --- a/op-mode-definitions/show-ntp.xml.in +++ b/op-mode-definitions/ntp.xml.in @@ -18,4 +18,21 @@ </node> </children> </node> + <node name="force"> + <children> + <node name="ntp"> + <properties> + <help>NTP (Network Time Protocol) operations</help> + </properties> + <children> + <node name="synchronization"> + <properties> + <help>Force NTP time synchronization</help> + </properties> + <command>sudo chronyc makestep</command> + </node> + </children> + </node> + </children> + </node> </interfaceDefinition> |