planktoscope/docs/run_script_when_boot.rst
2019-12-04 16:51:21 -08:00

11 lines
212 B
ReStructuredText

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