From 5fd5ec7560a64d25219aae2a9cd48fffa539283f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 16 Jul 2026 18:00:51 -0400 Subject: [PATCH] Update config always restart when changing Doppler mode --- config | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config b/config index 4c9e188b..5ae66550 100755 --- a/config +++ b/config @@ -1969,6 +1969,7 @@ elif [ "$1" = "-K" ]; then value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null set -- $value + doppler="${14}" if [ "${14}" = "sim" ] ; then echo "Simulated Doppler frequency shift mode enabled" @@ -2015,11 +2016,11 @@ elif [ "$1" = "-K" ]; then echo "$value" > /dev/null set -- $value - if [[ ( "$sim" == "y" || "$sim" == "yes" ) && ( "$1" == "m" ) && ( "$doppler" == "no" ) ]] ; then - reboot=1 - else +# if [[ ( "$doppler" == "y" || "$doppler" == "yes" ) && ( "$1" == "m" ) && ( "$doppler" == "no" ) ]] ; then +# reboot=1 +# else restart=1 - fi +# fi elif [ "$1" = "-h" ]; then