A background process that monitors a GPIO pin and Ethernet port for a shutdown signal. The daemon will then execute shutdown -h now to provide a soft power off.
This daemon is to provide a simple interface for safely turning off a Raspberry Pi.
Once this daemon is implemented, a new shutdown switch could be designed for Tiberius, that sends out a shutdown signal when the off button id pressed, and then cuts power after a the Pi's have been shut down.
The shutdown daemon will also allow other Raspberry Pi's to shutdown others via the TCP interface. This will be useful to the diagnostics module, because it will be able to shutdown faulty devices. This will also be handy for power saving, e.g. The batteries are running low and Tiberius is lost, the power management system can shutdown all unnecessary Pi's to save power for the distress beacon.
A background process that monitors a GPIO pin and Ethernet port for a shutdown signal. The daemon will then execute
shutdown -h now
to provide a soft power off.This daemon is to provide a simple interface for safely turning off a Raspberry Pi.
Once this daemon is implemented, a new shutdown switch could be designed for Tiberius, that sends out a shutdown signal when the off button id pressed, and then cuts power after a the Pi's have been shut down.
The shutdown daemon will also allow other Raspberry Pi's to shutdown others via the TCP interface. This will be useful to the diagnostics module, because it will be able to shutdown faulty devices. This will also be handy for power saving, e.g. The batteries are running low and Tiberius is lost, the power management system can shutdown all unnecessary Pi's to save power for the distress beacon.