From 48c68145e8a6c14d73bc464d70f0359df1faa609 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 1 Jan 2026 18:04:03 -0500 Subject: [PATCH] Update config remove extra code --- config | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/config b/config index 7a92b826..c9ecaa7c 100755 --- a/config +++ b/config @@ -227,16 +227,7 @@ elif [ "$1" = "-a" ]; then echo "changing CubeSatSim to AFSK mode" check_restart sudo echo "a" > /home/pi/CubeSatSim/.mode -# if [ "$1" == "f" ] || [ "$1" == "b" ] || [ "$1" == "e" ] || [ "$1" == "j" ] ; then -# FILE=/home/pi/CubeSatSim/battery_saver -# if [ -f "$FILE" ]; then -# restart=1 -# else -# reboot=1 -# fi -# else -# restart=1 -# fi + fi elif [ "$1" = "-m" ]; then @@ -254,16 +245,7 @@ elif [ "$1" = "-m" ]; then echo "changing CubeSatSim to CW mode" check_restart sudo echo "m" > /home/pi/CubeSatSim/.mode -# if [ "$1" == "f" ] || [ "$1" == "b" ] || [ "$1" == "e" ] || [ "$1" == "j" ] ; then -# FILE=/home/pi/CubeSatSim/battery_saver -# if [ -f "$FILE" ]; then -# restart=1 -# else -# reboot=1 -# fi -# else -# restart=1 -# fi + fi elif [ "$1" = "-f" ]; then @@ -315,17 +297,7 @@ elif [ "$1" = "-s" ]; then echo "changing CubeSatSim to SSTV mode" check_restart sudo echo "s" > /home/pi/CubeSatSim/.mode -# if [ "$1" == "f" ] || [ "$1" == "b" ] || [ "$1" == "e" ] || [ "$1" == "j" ] ; then -# -# FILE=/home/pi/CubeSatSim/battery_saver -# if [ -f "$FILE" ]; then -# restart=1 -# else -# reboot=1 -# fi -# else -# restart=1 -# fi + fi elif [ "$1" = "-t" ]; then