Update config add sim_mode_auto to config

master-psag-fm-only-fsk
Alan Johnston 2 months ago committed by GitHub
parent bc9b0532c1
commit c3cb2373c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -171,12 +171,15 @@ if [ "$1" = "" ]; then
set -- $value set -- $value
if [ "$5" = "y" ] || [ "$5" = "yes" ] ; then if [ "$5" = "y" ] || [ "$5" = "yes" ] ; then
# sim="yes"
echo "Simulated Telemetry is ON" echo "Simulated Telemetry is ON"
else else
# sim="no" FILE=/home/pi/CubeSatSim/sim_mode_auto
if [ -f "$FILE" ]; then
echo "Simulated Telemetry is automatically turned ON"
else
echo "Simulated Telemetry is OFF" echo "Simulated Telemetry is OFF"
fi fi
fi
# echo # echo
FILE=/home/pi/CubeSatSim/failure_mode.txt FILE=/home/pi/CubeSatSim/failure_mode.txt

Loading…
Cancel
Save

Powered by TurnKey Linux.