Update config use callsign

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

@ -62,11 +62,16 @@ function transmit_command {
else
STRING="AMSAT-11>APCSS:=3901.40N\07704.39WShi hi MODE="$1
$MODE=$1
value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null
set -- $value
STRING="$1-11>APCSS:=3901.40N\07704.39WShi hi MODE="$MODE
sudo rm /home/pi/CubeSatSim/t.txt > /dev/null 2>&1
echo $STRING > /home/pi/CubeSatSim/t.txt
echo
echo -n "Sending APRS packet to change mode to "$1" "
echo -n "Sending APRS packet to change mode to "$MODE" "
echo $STRING
sudo touch /home/pi/CubeSatSim/ready
sleep 3

Loading…
Cancel
Save

Powered by TurnKey Linux.