From 31eaf7d360d30a72dbbe7fbb30c53398183a88d5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 17 Aug 2025 10:02:17 -0400 Subject: [PATCH] Update config change to .gt --- config | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config b/config index f2600b5b..c957f88a 100755 --- a/config +++ b/config @@ -1570,10 +1570,10 @@ elif [ "$1" = "-M" ]; then echo " 9 Failed BME Sensor" echo "10 Failed MPU Sensor" echo "11 Failed FM Audio" - echo "12 Random Failure" +# echo "12 Random Failure" echo - echo "Enter the failure number to set: 0 - 12" + echo "Enter the failure number to set: 0 - 11" # echo "Enter the failure number to set: 0 - 9" read MODE echo @@ -1698,7 +1698,8 @@ elif [ "$1" = "-N" ]; then else echo "Changing to next simulated failure mode" fail=$((fail + 1)) - if [ $fail == 12 ]; then +# if [ $fail == 12 ]; then + if [ "$fail" -ge "11" ]; then fail=1 fi echo $fail