diff --git a/config b/config index d5d87517..93c3da75 100755 --- a/config +++ b/config @@ -276,6 +276,20 @@ if [ "$1" = "" ]; then fi echo + echo + FILE=/home/pi/CubeSatSim/failure_mode.txt + if [ -f "$FILE" ]; then + if [[ $(grep '0' $FILE) ]]; then + echo "No simulated failures." + else + echo -n "Simulated failure mode is: " + cat $FILE + fi + else + echo "No simulated failures." + fi + echo + if [ "$9" = "yes" ] || [ "$9" = "y" ]; then echo "Balloon mode is ON" else @@ -336,11 +350,6 @@ if [ "$1" = "" ]; then echo "Transmit beacon telemetry is ON" fi - echo - echo -n "Simulated failure mode is: " - cat /home/pi/CubeSatSim/failure_mode.txt - echo - echo echo -e "Current sim.cfg configuration file:" # echo