Skip to content

embeddedhacks/physicalShutdownRPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

physicalShutdownRPI

A Physical Shutdown Button For raspberry pi B.

Download the code.

Give excutable permission to both the file by chmod +x

open lunchshutdown.sh file and give the path of the .py file

open crontab by "sudo crontab -e" to add the lunchshutdown.sh to startup

copy the bellow line into end of crontab @reboot sh /home/pi/yourfilepath/lunchshutdown.sh

save crontab and reboot

Power one th RPI again. Push tht shutdown to halt the system.

Thanks

Keep Visiting for more tutorials. www.myelectronicslab.com

About

A Physical Button To Shutdown Button For raspberry pi B

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published