Update config use function

pull/327/head
Alan Johnston 1 year ago committed by GitHub
parent b3b51cfb49
commit cbb454b97a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -143,17 +143,19 @@ elif [ "$1" = "-a" ]; then
if [ "$1" == "n" ]; then if [ "$1" == "n" ]; then
echo "Transmit mode 1 is APRS" transmit_command_aprs
STRING="AMSAT-11>APCSS:=3901.40N\07704.39WShi hi MODE=a" # echo "Transmit mode 1 is APRS"
sudo rm /home/pi/CubeSatSim/t.txt
echo $STRING > /home/pi/CubeSatSim/t.txt # STRING="AMSAT-11>APCSS:=3901.40N\07704.39WShi hi MODE=a"
echo # sudo rm /home/pi/CubeSatSim/t.txt
echo -n "Sending APRS packet " # echo $STRING > /home/pi/CubeSatSim/t.txt
echo $STRING # echo
sudo touch /home/pi/CubeSatSim/ready # echo -n "Sending APRS packet "
sleep 5 # echo $STRING
sudo touch /home/pi/CubeSatSim/ready # sudo touch /home/pi/CubeSatSim/ready
# sleep 5
# sudo touch /home/pi/CubeSatSim/ready
else else
echo "changing CubeSatSim to AFSK mode" echo "changing CubeSatSim to AFSK mode"

Loading…
Cancel
Save

Powered by TurnKey Linux.