Update config removed blank line

pull/323/head
Alan Johnston 1 year ago committed by GitHub
parent b6a8276260
commit f9cb1e1a87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -131,7 +131,7 @@ elif [ "$1" = "-a" ]; then
FILE=/home/pi/CubeSatSim/battery_saver FILE=/home/pi/CubeSatSim/battery_saver
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then
echo "Safe Mode! Battery saver mode is ON." echo "Safe Mode! Battery saver mode is ON."
# if ! grep -q force_turbo=1 /boot/config.txt ; then sudo sh -c 'echo "force_turbo=1" >> /boot/config.txt'; fi # if ! grep force_turbo=1 /boot/config.txt ; then sudo sh -c 'echo "force_turbo=1" >> /boot/config.txt'; fi
else else
echo "Battery saver mode is OFF." echo "Battery saver mode is OFF."
# sudo sed -i ':a;N;$!ba;s/\nforce_turbo=1//g' /boot/config.txt # sudo sed -i ':a;N;$!ba;s/\nforce_turbo=1//g' /boot/config.txt
@ -692,7 +692,7 @@ elif [ "$1" = "-q" ]; then
elif [ "$1" = "-Q" ]; then elif [ "$1" = "-Q" ]; then
echo # echo
echo "Reading current Squelch for 10 seconds" echo "Reading current Squelch for 10 seconds"
echo "Squelch is active low (0 means squelch broken)" echo "Squelch is active low (0 means squelch broken)"
echo echo

Loading…
Cancel
Save

Powered by TurnKey Linux.