planktoscope/docs/run_script_when_boot.rst

11 lines
212 B
ReStructuredText
Raw Normal View History

2019-12-05 01:51:21 +01:00
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