Update config put back -n prompt

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

@ -1255,9 +1255,16 @@ elif [ "$1" = "-n" ]; then
echo "changing CubeSatSim to Transmit Commands mode" echo "changing CubeSatSim to Transmit Commands mode"
sudo echo "n" > /home/pi/CubeSatSim/.mode if [ "$1" = "n" ]; then
restart=1 echo "Turning Transmit Command and Control mode OFF"
echo "Switching to FSK mode"
sudo echo "f" > /home/pi/CubeSatSim/.mode
reboot=1
else
echo "Turning Transmit Command and Control mode ON"
sudo echo "n" > /home/pi/CubeSatSim/.mode
restart=1
fi
elif [ "$1" = "-A" ]; then elif [ "$1" = "-A" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.