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)