Update config add while for -A

beta-aprs
Alan Johnston 1 year ago committed by GitHub
parent 36cf708cc8
commit fd489ff189
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -903,11 +903,15 @@ elif [ "$1" = "-A" ]; then
echo "Transmit APRS control packets to control another CubeSatSim"
echo
echo
sudo systemctl stop cubesatsim
echo -n "Enter the mode number to change: 1=APRS, 2=FSK, 3=BPSK, 4=SSTV, 5=CW"
sim="y"
while [ "$sim" = "y" ]
do
echo "Enter the mode number to change: 1=APRS, 2=FSK, 3=BPSK, 4=SSTV, 5=CW"
read MODE
case $MODE in
@ -943,6 +947,11 @@ elif [ "$1" = "-A" ]; then
sleep 1
touch /home/pi/CubeSatSim/ready
echo "Do you want to send another command (y/n) "
read sim
done
sudo rm /home/pi/CubeSatSim/t.txt
sudo systemctl restart cubesatsim
elif [ "$1" = "-h" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.