fixed y or yes for Simulated Telemetry

pull/107/head
alanbjohnston 5 years ago committed by GitHub
parent dd0ef4a7bb
commit ed463e7035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.