Update config fix -G freq check

fiabv4-auto-tune-p
Alan Johnston 2 days ago committed by GitHub
parent 4fc65dfa4e
commit 445fd85fda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1829,6 +1829,10 @@ elif [ "$1" = "-G" ]; then
reboot=1
sudo echo "p" > /home/pi/CubeSatSim/.mode
value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null
set -- $value
if [ "${7}" != "434.9" ] && [ "${7}" != "434.900" ] ; then
echo "The default transmit frequency of 434.9 MHz is NOT set."
echo
@ -1874,18 +1878,6 @@ elif [ "$1" = "-I" ]; then
fi
fi
# if [ "$1" == "f" ] || [ "$1" == "b" ] || [ "$1" == "e" ] ; then
# FILE=/home/pi/CubeSatSim/battery_saver
# if [ -f "$FILE" ]; then
# restart=1
# else
# reboot=1
# fi
# else
# restart=1
# fi
elif [ "$1" = "-k" ]; then
echo

Loading…
Cancel
Save

Powered by TurnKey Linux.