How to Shutdown Your Raspberry Pi at the Push of a Button

For my self-contained Raspberry Pi camera rig, I needed a way to cleanly shutdown raspbian linux without a keyboard or remote console. I show how a simple pushbutton and a Bash shell script with embedded Python code was be used to achieve this.

Get the shell script here