Update config offer to change frequency when change to PacSat Ground mode

master-b-q
Alan Johnston 1 week ago committed by GitHub
parent 5ef6f3c994
commit 37ffbaf4e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1835,6 +1835,25 @@ elif [ "$1" = "-I" ]; 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" ] && [ "${8}" = "435" ]; then
echo "The default transmit frequency of 434.9 MHz is set"
echo
echo "Do you want to change it (for example to 435 MHz)?"
read input
echo
if [ "$input" = "y" ] || [ "$input" = "yes" ] ; then
/home/pi/CubeSatSim/config -F n
fi
fi
# if [ "$1" == "f" ] || [ "$1" == "b" ] || [ "$1" == "e" ] ; then
# FILE=/home/pi/CubeSatSim/battery_saver
# if [ -f "$FILE" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.