1748946072
This commit is contained in:
+8
-1
@@ -1,2 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo raspi-config
|
# updoot this
|
||||||
|
echo "Updating this repo"
|
||||||
|
git pull
|
||||||
|
|
||||||
|
sudo raspi-config
|
||||||
|
|
||||||
|
echo "Rebooting in 5 minutes"
|
||||||
|
sudo shutdown -r +5
|
||||||
@@ -1,10 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# updoot this
|
|
||||||
echo "Updating this repo"
|
|
||||||
git pull
|
|
||||||
|
|
||||||
# updoot
|
# updoot
|
||||||
echo "Updating software lists"
|
echo "Updating software lists"
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
|||||||
+1
-1
@@ -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 '# 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 'dtoverlay=pps-gpio,gpiopin=18' >> /boot/firmware/config.txt"
|
||||||
sudo bash -c "echo 'enable_uart=1' >> /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
|
fi
|
||||||
|
|
||||||
# add pps-gpio to modules
|
# add pps-gpio to modules
|
||||||
|
|||||||
Reference in New Issue
Block a user