- This topic has 1 reply, 2 voices, and was last updated 3 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › Raspberry Pi › run program on raspberry pi on boot up
Hello, can anybody tell how can a program be run on raspberry pi on boot up, i am building a security system on pi and want a script to run as the pi boots up
there are many ways to run a program on boot up on Raspberry Pi…like editing rc.local file..open rc.local by the following command – sudo nano /etc/rc.local and add the following lines in the file for running a python program on bootup – sudo python path_of_file/name_of_file.py &
exit 0