|
|
|
|
@ -600,7 +600,7 @@ elif [ "$1" = "-t" ]; then
|
|
|
|
|
echo $1 $2 $3 $4 $sim $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} > /home/pi/CubeSatSim/sim.cfg
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
reboot=1
|
|
|
|
|
restart=1
|
|
|
|
|
|
|
|
|
|
elif [ "$1" = "-c" ]; then
|
|
|
|
|
|
|
|
|
|
@ -692,7 +692,7 @@ elif [ "$1" = "-r" ]; then
|
|
|
|
|
if [ "$norestart" = "1" ]; then
|
|
|
|
|
echo
|
|
|
|
|
else
|
|
|
|
|
reboot=1
|
|
|
|
|
restart=1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
elif [ "$1" = "-l" ]; then
|
|
|
|
|
@ -777,7 +777,7 @@ elif [ "$1" = "-l" ]; then
|
|
|
|
|
if [ "$norestart" = "1" ]; then
|
|
|
|
|
echo
|
|
|
|
|
else
|
|
|
|
|
reboot=1
|
|
|
|
|
restart=1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
elif [ "$1" = "-S" ]; then
|
|
|
|
|
@ -1955,7 +1955,7 @@ elif [ "$1" = "-U" ]; then
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
if [ "${12}" != "$sim" ] || [ "${13}" != "$time" ] ; then
|
|
|
|
|
reboot=1
|
|
|
|
|
restart=1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
elif [ "$1" = "-u" ]; then
|
|
|
|
|
|