From 2c7c3315908095566a240ed40f56e5ebd2b08c0b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 17 Aug 2025 10:13:42 -0400 Subject: [PATCH] Update config reboot if fail seconds changed --- config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config b/config index 1eac704d..9cca4e40 100755 --- a/config +++ b/config @@ -1754,7 +1754,6 @@ elif [ "$1" = "-U" ]; then echo "Error: not an integer!" time="${13}" echo "Keeping value of" $time -# norestart=1 fi else @@ -1770,7 +1769,7 @@ elif [ "$1" = "-U" ]; then echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} $sim $time > /home/pi/CubeSatSim/sim.cfg echo - if [ "${12}" != "$sim" ]; then + if [ "${12}" != "$sim" ] || [ "${13}" != "$time" ] ; then reboot=1 fi