Autorun Raspberry Pi

In a terminal :
sudo nano /etc/profile

At the end of this file :
sudo python Desktop/script.py
best secure :
1 - enable SSH (RaspiConfig)
2 - connect RPi to network and note the ip address
3 - start the RPi in console mode


Or, In a terminal :

        sudo nano .bashrc

At the end or the file : 

        sudo python Desktop/script.py

Commentaires