diff --git a/installer0.sh b/installer0.sh index d45e128..383b819 100644 --- a/installer0.sh +++ b/installer0.sh @@ -1,2 +1,9 @@ #!/bin/bash -sudo raspi-config \ No newline at end of file +# updoot this +echo "Updating this repo" +git pull + +sudo raspi-config + +echo "Rebooting in 5 minutes" +sudo shutdown -r +5 \ No newline at end of file diff --git a/installer1.sh b/installer1.sh index 8f5381b..7aed6f1 100644 --- a/installer1.sh +++ b/installer1.sh @@ -1,10 +1,6 @@ #!/bin/bash set -e -# updoot this -echo "Updating this repo" -git pull - # updoot echo "Updating software lists" sudo apt update diff --git a/installer2.sh b/installer2.sh index 0582494..a7b9da1 100644 --- a/installer2.sh +++ b/installer2.sh @@ -48,7 +48,7 @@ else sudo bash -c "echo '# the next 3 lines are for GPS PPS signals' >> /boot/firmware/config.txt" sudo bash -c "echo 'dtoverlay=pps-gpio,gpiopin=18' >> /boot/firmware/config.txt" sudo bash -c "echo 'enable_uart=1' >> /boot/firmware/config.txt" -` sudo bash -c "echo 'init_uart_baud=115200' >> /boot/firmware/config.txt" # set baudrate here to + sudo bash -c "echo 'init_uart_baud=115200' >> /boot/firmware/config.txt" # set baudrate here to fi # add pps-gpio to modules