http://www.raspberry-pi-geek.com/Archive/2013/01/Adding-an-On-Off-switch-to-your-Raspberry-Pi https://gilyes.com/pi-shutdown-button/ https://github.com/gilyes/pi-shutdown