From 97c0976195a702eb2a4a72f0a86e7e50afb9d273 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 2 Jun 2021 21:09:48 -0400 Subject: [PATCH] typos --- config | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/config b/config index 6cd8cdf7..bdeec16e 100755 --- a/config +++ b/config @@ -91,9 +91,6 @@ elif [ "$1" = "-m" ]; then echo "Editing the Simulated Telemetry setting in" echo "the configuration file for CubeSatSim" echo - echo "Return keeps current value." -# echo -e "Current sim.cfg configuration file:" -# echo value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null @@ -111,17 +108,19 @@ elif [ "$1" = "-m" ]; then echo "Do you want Simulated Telemetry ON (y/n) " read sim - + echo + if [ "$sim" = "y" ] ; then - $sim = "yes" + sim="yes" echo "Simulated Telemetry is ON" else - $sim = "no" + sim="no" echo "Simulated Telemetry is OFF" fi + echo echo -e "\nCubeSatSim configuraation sim.cfg file updated to: \n" - + echo echo $callsign $2 $3 $4 $sim echo $callsign $2 $3 $4 $sim > /home/pi/CubeSatSim/sim.cfg echo