Installing Automatic Shutdown Feature - freeDSP/freeDSP-OCTAVIA GitHub Wiki
Installing Shutdown Feature
Just Add the following line into the
/boot/config.txt
dtoverlay=gpio-shutdown,gpio_pin=17
Procedure:
-
Open and login the SSH terminal as a superuser
-
From the terminal window, open a file with nano editor.
root> nano /boot/config.txt
-
Insert a line as follows...
dtoverlay=gpio-shutdown,gpio_pin=17 -
Write and Quit from the nano editor.
-
Reboot your Raspberry-pi.
After this modification, when you turn off the mains switch of FreeDSP OCTAVIA the embedded Raspberry-pi will shut down automatically.