Page MenuHomeVyOS Platform

Clean up the reboot/poweroff CLI and script
Open, NormalPublic


There are multiple issues with it:

  • The most obvious and common date format, YYYY-DD-MM is not supported.
  • Possibility that systemctl output has no "Status" ..." line is not handled, leading to runtime errors
  • There is no way to check if shutdown is scheduled without also printing that data
  • Many messages are confusing and/or ungrammatical
  • show reboot and show poweroff still call the old script


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

dmbaturin updated the task description. (Show Details)
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
erkin set Issue type to Improvement (missing useful functionality).Aug 31 2021, 6:09 PM