c0ff9f8b44 | ||
---|---|---|
diagrams | ||
script | ||
README.md | ||
listen-for-shutdown.py | ||
listen-for-shutdown.sh |
README.md
pi-power-button
Scripts used in our official Raspberry Pi power button guide.
Installation
- Connect to your Raspberry Pi via SSH
- Clone this repo:
git clone https://github.com/Howchoo/pi-power-button.git
- Run the setup script:
./pi-power-button/script/install
Uninstallation
If you need to uninstall the power button script in order to use GPIO3 for another project or something:
- Run the uninstall script:
./pi-power-button/script/uninstall