From ed463e7035470c4c28f5a2d1f71e3d1572741ccd Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 18 Jun 2021 08:22:44 -0400 Subject: [PATCH] fixed y or yes for Simulated Telemetry --- config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config b/config index 7ef64896..c98073b3 100755 --- a/config +++ b/config @@ -37,7 +37,7 @@ if [ "$1" = "" ]; then echo $1 $2 $3 $4 $5 echo - if [ "$sim" = "y" ] ; then + if [ "$sim" = "y" ] || [ "$sim" = "yes" ] ; then sim="yes" echo "Simulated Telemetry is ON" else @@ -110,7 +110,7 @@ elif [ "$1" = "-t" ]; then echo "$value" > /dev/null set -- $value - if [ "$5" = "yes" ]; then + if [ "$5" = "yes" ] || [ "$5" = "y" ]; then echo "Simualted Telemetry is ON" else echo "Simualted Telemetry is OFF" @@ -124,7 +124,7 @@ elif [ "$1" = "-t" ]; then read sim echo - if [ "$sim" = "y" ] ; then + if [ "$sim" = "y" ] || [ "$sim" = "yes" ] ; then sim="yes" echo "Simulated Telemetry is ON" else