@ -450,7 +450,21 @@ elif [ "$1" = "-m" ]; then
else
echo "changing CubeSatSim to CW mode"
check_restart
value=`cat /home/pi/CubeSatSim/sim.cfg`
echo "$value" > /dev/null
set -- $value
if [ "${14}" = "sim" ] || [ "${14}" = "rig" ] ; then
DOPPLER=1
DOPPLER=0
if [ "$DOPPLER" = "1" ] ; then
restart=1
fi
sudo echo "m" > /home/pi/CubeSatSim/.mode
Powered by TurnKey Linux.