Raspberry Pi Safe Wake-Halt GPIO daemon Installation Solder 680Ω resistor from BCM 3 aka WPi 9 aka pin 5 to PP24. dpkg -i rpi-mic-shutdown.deb Usage Press button and enjoy.