Create run_script_when_boot.rst
This commit is contained in:
parent
fc58fc4683
commit
0a7fcda174
10
docs/run_script_when_boot.rst
Normal file
10
docs/run_script_when_boot.rst
Normal 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
|
Loading…
Reference in a new issue