- Put
shutdown_button.py
to/usr/local/bin/
- Put
shutdown_button.service
to/etc/systemd/system/
- Enable service
systemctl enable shutdown_button.service
- Start service
systemctl start shutdown_button.service
- Enjoy!
Created
August 27, 2018 15:26
-
-
Save korzhyk/05a4c9fe6cab83002da72ed898b434e0 to your computer and use it in GitHub Desktop.
Raspberry Pi3 Shutdown button with LED indicator
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment