Best way to execute a command after Linux system halt
- by Lukas Loesche
Problem:
The SSDs in our servers require a power cycle (i.e. off/on, not reset/warm reboot) after a firmware update.
Thoughts:
Using 'ipmitool chassis power cycle' I can cycle the server's power. However this would cut the power while the system is still running, filesystems are mounted, etc.
What I basically want is a delayed power cycle so the…