Autostart: rc.local

Active 0 Reply 116 Views 2018-02-09 15:58:57 Raspberry Pi

If you need to run a program on startup (boot) just edit the file

sudo nano /etc/rc.local

New line example:

python /home/pi/myscript.py &

Place your new line right before exit 0


Sharing is caring, show love and share the thread with your friends.


loading...