A python tool to shutdown your computer by removing an USB device.
Originally intended to be run on RaspberryPi to prevent brutal shutdown.
- GObject python bindings;
- GUdev python bindings;
Debian and derivatives
sudo apt-get install python-gobject python-gudev
Installation and usage
This tool is at a very early stage, there's no installer yet so here's the deal:
run as root:
follow the instructions. Basically you'll need to plug the device that you want to use as a shutdown handler;
run the tool as root at startup:
unplug the device and look at the magic;
Any feedback or pull requests are welcome.
No installer yet, no uninstaller yet. Remove downloaded files and the configuration file:
Version 2.0, January 2004
Claudio "Dawson" d'Angelis firstname.lastname@example.org