raspberry pi how to run a script at 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