Update config display TX frequency in -A and -n

send-commands
Alan Johnston 2 weeks ago committed by GitHub
parent d85c9b3b16
commit 925a0b1f82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1179,6 +1179,15 @@ elif [ "$1" = "-n" ]; then
sudo systemctl restart command
else
echo "Switching to Transmit Commands mode"
value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null
set -- $value
echo -n "TX Frequency is: "
echo -n ${7}
echo
check_restart
sudo echo "n" > /home/pi/CubeSatSim/.mode
sudo systemctl stop command
@ -1189,6 +1198,14 @@ elif [ "$1" = "-A" ]; then
echo "Transmit APRS Commands to control another CubeSatSim"
echo
value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null
set -- $value
echo -n "TX Frequency is: "
echo -n ${7}
echo
value=`cat /home/pi/CubeSatSim/.mode`
echo "$value" > /dev/null
set -- $value

Loading…
Cancel
Save

Powered by TurnKey Linux.