Update config Transmit Commands prints

send-commands
Alan Johnston 1 month ago committed by GitHub
parent 313fe6ceb1
commit 86fda1d750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1383,26 +1383,26 @@ elif [ "$1" = "-e" ]; then
elif [ "$1" = "-n" ]; then elif [ "$1" = "-n" ]; then
echo "changing CubeSatSim to Transmit Commands mode" # echo "changing CubeSatSim to Transmit Commands mode"
value=`cat /home/pi/CubeSatSim/.mode` value=`cat /home/pi/CubeSatSim/.mode`
echo "$value" > /dev/null echo "$value" > /dev/null
set -- $value set -- $value
if [ "$1" = "n" ]; then if [ "$1" = "n" ]; then
echo "Turning Transmit Command and Control mode OFF" echo "Turning Transmit Commands mode OFF"
echo "Switching to BPSK mode" echo "Switching to BPSK mode"
sudo echo "b" > /home/pi/CubeSatSim/.mode sudo echo "b" > /home/pi/CubeSatSim/.mode
reboot=1 reboot=1
else else
echo "Turning Transmit Command and Control mode ON" echo "Turning Transmit Commands mode ON"
sudo echo "n" > /home/pi/CubeSatSim/.mode sudo echo "n" > /home/pi/CubeSatSim/.mode
restart=1 restart=1
fi fi
elif [ "$1" = "-A" ]; then elif [ "$1" = "-A" ]; then
echo "Transmit APRS control packets to control another CubeSatSim" echo "Transmit APRS Commands to control another CubeSatSim"
echo echo
value=`cat /home/pi/CubeSatSim/.mode` value=`cat /home/pi/CubeSatSim/.mode`

Loading…
Cancel
Save

Powered by TurnKey Linux.