Create run_script_when_boot.rst

This commit is contained in:
tpollina 2019-12-04 16:51:21 -08:00 committed by GitHub
parent fc58fc4683
commit 0a7fcda174
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,10 @@
Run script when starting ::
cd ~
sudo touch starting.sh
sudo chmod 777 starting.sh
sudo echo 'sudo chmod 777 /dev/i2c-1' >> starting.sh
sudo echo './starting.sh' >> .bashrc
sudo reboot