|
|
|
|
@ -67,9 +67,9 @@ if [ "$1" = "" ]; then
|
|
|
|
|
echo "Battery saver mode is OFF"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
# echo
|
|
|
|
|
echo -e "Current sim.cfg configuration file:"
|
|
|
|
|
echo
|
|
|
|
|
# echo
|
|
|
|
|
|
|
|
|
|
echo $1 $2 $3 $4 $5 $6 $7 $8 $9
|
|
|
|
|
echo
|
|
|
|
|
@ -222,7 +222,7 @@ elif [ "$1" = "-t" ]; then
|
|
|
|
|
echo $1 $2 $3 $4 $sim $6 $7 $8 $9
|
|
|
|
|
echo $1 $2 $3 $4 $sim $6 $7 $8 $9 > /home/pi/CubeSatSim/sim.cfg
|
|
|
|
|
echo
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo "Restarting CubeSatSim with new configuration file"
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
@ -267,7 +267,7 @@ elif [ "$1" = "-c" ]; then
|
|
|
|
|
echo
|
|
|
|
|
else
|
|
|
|
|
echo
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo "Restarting CubeSatSim with new configuration file"
|
|
|
|
|
echo
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
fi
|
|
|
|
|
@ -319,7 +319,7 @@ elif [ "$1" = "-r" ]; then
|
|
|
|
|
echo
|
|
|
|
|
else
|
|
|
|
|
echo
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo "Restarting CubeSatSim with new configuration file"
|
|
|
|
|
echo
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
fi
|
|
|
|
|
@ -393,7 +393,7 @@ elif [ "$1" = "-l" ]; then
|
|
|
|
|
echo
|
|
|
|
|
else
|
|
|
|
|
echo
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo "Restarting CubeSatSim with new configuration file"
|
|
|
|
|
echo
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
fi
|
|
|
|
|
@ -561,7 +561,7 @@ elif [ "$1" = "-q" ]; then
|
|
|
|
|
echo $1 $2 $3 $4 $5 $sq $7 $8 $9
|
|
|
|
|
echo $1 $2 $3 $4 $4 $sq $7 $8 $9 > /home/pi/CubeSatSim/sim.cfg
|
|
|
|
|
echo
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo "Restarting CubeSatSim with new configuration file"
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
@ -618,7 +618,7 @@ elif [ "$1" = "-F" ]; then
|
|
|
|
|
# echo
|
|
|
|
|
# else
|
|
|
|
|
echo
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo "Restarting CubeSatSim with new configuration file"
|
|
|
|
|
echo
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
# fi
|
|
|
|
|
@ -661,7 +661,7 @@ elif [ "$1" = "-H" ]; then
|
|
|
|
|
echo $1 $2 $3 $4 $5 $6 $7 $8 $hab
|
|
|
|
|
echo $1 $2 $3 $4 $5 $6 $7 $8 $hab > /home/pi/CubeSatSim/sim.cfg
|
|
|
|
|
echo
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo "Restarting CubeSatSim with new configuration file"
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
|