How to trigger a command on Linux when disconnected from power

Original forum link
https://forum.qubes-os.org/t/34178
Original poster
Solène R
Created at
2025-05-31 10:05:52
Posts count
4
Likes count
12

Hi

I wrote a guide explaining how to soft implement an equivalent to BusKill using a power supply event to trigger a command in dom0.

https://dataswamp.org/~solene/2025-05-31-linux-killswitch-on-power-disconnect.html

Feel free to ask if you have questions or Qubes OS specific implementation questions :)