|
|
|
@ -1754,7 +1754,6 @@ elif [ "$1" = "-U" ]; then
|
|
|
|
echo "Error: not an integer!"
|
|
|
|
echo "Error: not an integer!"
|
|
|
|
time="${13}"
|
|
|
|
time="${13}"
|
|
|
|
echo "Keeping value of" $time
|
|
|
|
echo "Keeping value of" $time
|
|
|
|
# norestart=1
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
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 $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} $sim $time > /home/pi/CubeSatSim/sim.cfg
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${12}" != "$sim" ]; then
|
|
|
|
if [ "${12}" != "$sim" ] || [ "${13}" != "$time" ] ; then
|
|
|
|
reboot=1
|
|
|
|
reboot=1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|