Page MenuHomeVyOS Platform

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

Description

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

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

dmbaturin triaged this task as Normal priority.Dec 5 2019, 11:09 PM
dmbaturin created this task.
pasik added a subscriber: pasik.Dec 8 2019, 7:00 PM
dmbaturin updated the task description. (Show Details)
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.