Update config remove dash

send-commands
Alan Johnston 1 month ago committed by GitHub
parent 1dad004f08
commit 244a27801b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1114,9 +1114,9 @@ elif [ "$1" = "-n" ]; then
if [ "$1" = "n" ]; then
echo "Turning Transmit Commands mode OFF"
if [ "$2" = "-a" ] || [ "$2" = "-f" ] || [ "$2" = "-b" ] || [ "$2" = "-s" ] || [ "$2" = "-m" ] || [ "$2" = "-e" ] || [ "$2" = "-j" ] ; then
echo "Switching to mode "${2:1:1}
sudo echo ${2:1:1} > /home/pi/CubeSatSim/.mode
if [ "$2" = "a" ] || [ "$2" = "f" ] || [ "$2" = "b" ] || [ "$2" = "s" ] || [ "$2" = "m" ] || [ "$2" = "e" ] || [ "$2" = "j" ] ; then
echo "Switching to mode "$2
sudo echo $2 > /home/pi/CubeSatSim/.mode
restart=1
else
echo "Switching to BPSK mode"

Loading…
Cancel
Save

Powered by TurnKey Linux.