Autostart: rc.local

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


loading...