forked from sanje2v/buttonshutdown-daemon
-
Notifications
You must be signed in to change notification settings - Fork 1
SRChiP/buttonshutdownd-inv
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
buttonshutdownd-inv Based on buttonshutdown-daemon written by Sanjeev Sharma (http://sanje2v.wordpress.com/). Modified by SRChiP. This daemon is used to monitor wiringPi GPIO pin 0 on whether pushbutton has been depressed. If the pushbutton is depressed for less than 2 secs, the daemon restarts the system while if depressed for 2 or more seconds, the daemon shuts down the system. Simply connect a pushswitch to wiringPi pin 0 and ground.
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.6%
- Shell 3.4%