Page MenuHomeVyOS Platform

Show a warning if the router is going to reboot soon (due to "commit-confirm" command)
Closed, ResolvedPublicFEATURE REQUEST

Description

Several times I've used the commit-confirm function and in approximate 50% times I've forgot to confirm the config changes (and a router rebooted).

It's would be nice to see a waning if the router going to reboot in 5/3/1 minutes.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

syncer triaged this task as Wishlist priority.Jun 3 2018, 8:19 AM
Unknown Object (User) subscribed.Sep 24 2018, 6:56 AM
This comment was removed by syncer.
dmbaturin set Is it a breaking change? to Perfectly compatible.
dmbaturin subscribed.

I think we can make it a systemd service that is started on commit-confirm and stopped on confirm.

Would it be too hard to hack the legacy config management script into using systemd for scheduling reboots instead of atd?

Yes, but since it won't solve the notification problem, these are separate concerns. Let's make a new task for migrating that script from atd to systems for scheduling reboots.

I opened T3285 to it. Once the switch to shutdownd is done, I'll incorporate a service that warns the user of an impending shutdown.

This PR adds the notification script.

dmbaturin renamed this task from Show a warning if router going to reboot soon (due to "commit-confirm" command) to Show a warning if the router is going to reboot soon (due to "commit-confirm" command).Sep 10 2021, 6:10 AM
dmbaturin set Issue type to Feature (new functionality).Nov 8 2024, 10:50 AM