Update config reboot if turning Doppler off in CW mode

master-bf-pre3
Alan Johnston 5 days ago committed by GitHub
parent 8a22c8788d
commit d5440172be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2011,7 +2011,15 @@ elif [ "$1" = "-K" ]; then
echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} $doppler > /home/pi/CubeSatSim/sim.cfg echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} $doppler > /home/pi/CubeSatSim/sim.cfg
echo echo
restart=1 value=`cat /home/pi/CubeSatSim/.mode`
echo "$value" > /dev/null
set -- $value
if [[ ( "$sim" == "y" || "$sim" == "yes" ) && ( "$1" == "m" ) && ( "$doppler" == "no" ) ]] ; then
reboot=1
else
restart=1
fi
elif [ "$1" = "-h" ]; then elif [ "$1" = "-h" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.