Update config changed failure print

master-latency
Alan Johnston 4 months ago committed by GitHub
parent bead33ce3f
commit 91f76f4603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save

Powered by TurnKey Linux.