Page MenuHomeVyOS Platform

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

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

Version
1.2.0
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new 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.
syncer changed the subtype of this task from "Task" to "Enhancement".Oct 28 2024, 7:14 AM
dmbaturin set Issue type to Feature (new functionality).Nov 8 2024, 10:50 AM