raspberry pi run a script on startup code example
Example: run on startup pi
sudo nano /etc/rc.local
Then add commands and do CTRL+X and press y to save
sudo nano /etc/rc.local
Then add commands and do CTRL+X and press y to save