From f667dda598eb6c2deeeb16880706a19bdbac6e5c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 22 Nov 2023 09:00:16 -0500 Subject: [PATCH] Update update add force_turbo if not present --- update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update b/update index 8e9f3c9b..74eeb250 100755 --- a/update +++ b/update @@ -212,6 +212,8 @@ git pull --no-rebase > .updated_p FLAG=1 fi + if ! grep -q force_turbo=1 /boot/config.txt ; then sudo sh -c 'echo "force_turbo=1" >> /boot/config.txt'; fi + #if [ ! -f "/home/pi/CubeSatSim/telem_string.txt" ]; then # sudo apt-get update && sudo apt-get dist-upgrade -y