summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2022-02-20 15:06:21 -0500
committersrividya0208 <a.srividya@vyos.io>2022-02-20 15:06:21 -0500
commitf23040a0f7d425550350f91410272196f842308e (patch)
treef32c69665d214905518282bc7145ce452d166e40 /op-mode-definitions
parentac8ba16d63fb420ff6cd2f76e1666a329687a9a7 (diff)
downloadvyos-1x-f23040a0f7d425550350f91410272196f842308e.tar.gz
vyos-1x-f23040a0f7d425550350f91410272196f842308e.zip
T4115:Reboot:Options "in" and "at" are not working
When reboot is executed with "in" option it only accepts minutes till 99 value and does not accept greater values and "at" is also working same like in option where as it should work with exact timings.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/reboot.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/reboot.xml.in b/op-mode-definitions/reboot.xml.in
index 2c8daec5d..6414742d9 100644
--- a/op-mode-definitions/reboot.xml.in
+++ b/op-mode-definitions/reboot.xml.in
@@ -25,7 +25,7 @@
<list>&lt;Minutes&gt;</list>
</completionHelp>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/powerctrl.py --yes --reboot $3 $4</command>
+ <command>sudo ${vyos_op_scripts_dir}/powerctrl.py --yes --reboot_in $3 $4</command>
</tagNode>
<tagNode name="at">
<properties>
@@ -40,7 +40,7 @@
<properties>
<help>Reboot at a specific date</help>
<completionHelp>
- <list>&lt;DDMMYYYY&gt; &lt;DD/MM/YYYY&gt; &lt;DD.MM.YYYY&gt; &lt;DD:MM:YYYY&gt;</list>
+ <list>&lt;DD/MM/YYYY&gt; &lt;DD.MM.YYYY&gt; &lt;DD:MM:YYYY&gt;</list>
</completionHelp>
</properties>
<command>sudo ${vyos_op_scripts_dir}/powerctrl.py --yes --reboot $3 $5</command>