This repository provides power off service that executes shutdown procedure on button deactivation connected to pin 27.
Installation procedure:
~ $ git clone https://github.com/raspberry-pi-experiments/RaspberryPi-Power-Off-Button.git
~ $ cd RaspberryPi-Power-Off-Button
~/RaspberryPi-Power-Off-Button $ make installUninstallation procedure:
~/RaspberryPi-Power-Off-Button $ make uninstall