Home Knowledgebase Store

Manually adding the Safe Shutdown Script

This process works for all devices.
1

Login to your Raspberry Pi via Putty

2

Edit the config.txt file

sudo nano /boot/config.txt

3

Add the following lines to the end of your config.txt file:

#Shutdown Button
dtoverlay=gpio-shutdown,gpiopin=3
#Poweroff Trigger
dtoverlay=gpio-poweroff,gpiopin=4

4

Save your changes

5
Reboot with:

sudo reboot