diff options
author | srividya0208 <a.srividya@vyos.io> | 2022-02-20 15:06:21 -0500 |
---|---|---|
committer | srividya0208 <a.srividya@vyos.io> | 2022-02-20 15:06:21 -0500 |
commit | f23040a0f7d425550350f91410272196f842308e (patch) | |
tree | f32c69665d214905518282bc7145ce452d166e40 /op-mode-definitions/reboot.xml.in | |
parent | ac8ba16d63fb420ff6cd2f76e1666a329687a9a7 (diff) | |
download | vyos-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/reboot.xml.in')
-rw-r--r-- | op-mode-definitions/reboot.xml.in | 4 |
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><Minutes></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><DDMMYYYY> <DD/MM/YYYY> <DD.MM.YYYY> <DD:MM:YYYY></list> + <list><DD/MM/YYYY> <DD.MM.YYYY> <DD:MM:YYYY></list> </completionHelp> </properties> <command>sudo ${vyos_op_scripts_dir}/powerctrl.py --yes --reboot $3 $5</command> |