From 0a7fcda17447321998a0b9e386e544843901d877 Mon Sep 17 00:00:00 2001 From: tpollina Date: Wed, 4 Dec 2019 16:51:21 -0800 Subject: [PATCH] Create run_script_when_boot.rst --- docs/run_script_when_boot.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/run_script_when_boot.rst diff --git a/docs/run_script_when_boot.rst b/docs/run_script_when_boot.rst new file mode 100644 index 0000000..27badb7 --- /dev/null +++ b/docs/run_script_when_boot.rst @@ -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