Update config don't do -A unless in FM mode

send-commands
Alan Johnston 3 weeks ago committed by GitHub
parent 2d2a95baa4
commit eb0e6a7232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1221,6 +1221,12 @@ elif [ "$1" = "-A" ]; then
echo "$value" > /dev/null
set -- $value
if [ "$1" == "f" ] || [ "$1" == "b" ] || [ "$1" == "e" ] || [ "$1" == "j" ] ; then
echo "The CubeSatSim/config -A command can only be run in APRS, SSTV, CW, or Transmit Commands modes."
echo "Switch to one of these modes (a, s, m, or n) then re-run this command."
exit
fi
if [ "$1" != "n" ]; then
sudo systemctl stop cubesatsim

Loading…
Cancel
Save

Powered by TurnKey Linux.