Raspberry#Auto start the Script

Here is how to set up auto startup of Script in Pi.

Go to the following File.

sudo nano /home/pi/.bashrc

Simply add the script you wish to run to the bottom of the list.

echo Running at boot
sudo python /home/pi/YouScript.py

シェアする

  • このエントリーをはてなブックマークに追加

フォローする