forked from SRChiP/buttonshutdownd-inv
-
Notifications
You must be signed in to change notification settings - Fork 1
KarolNi/buttonshutdownd
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
buttonshutdownd Based on buttonshutdown-daemon written by Sanjeev Sharma (http://sanje2v.wordpress.com/). Modified by SRChiP. Modified by KarolNi. This daemon is used to monitor wiringPi GPIO pin 0 on whether it has been pulled to ground. If the pushbutton is pulled down for less than 2 secs, the daemon shuts down the system while if pulled down for 2 or more seconds, the daemon restarts the system. Simply connect a pushswitch to wiringPi pin 0 and ground or use screwdriver to short pins 9 and 11.
About
This daemon allows shutting down/restarting Raspberry Pi using push button.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C++ 96.8%
- Shell 3.2%