|
|
|
|
@ -81,10 +81,9 @@ elif [ "$1" = "-c" ]; then
|
|
|
|
|
echo -e "\nCubeSatSim configuraation sim.cfg file updated to: \n"
|
|
|
|
|
|
|
|
|
|
echo $callsign $2 $3 $4
|
|
|
|
|
|
|
|
|
|
echo $callsign $2 $3 $4 > sim.cfg
|
|
|
|
|
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
|
|
|
|
|
@ -126,10 +125,9 @@ elif [ "$1" = "-r" ]; then
|
|
|
|
|
echo -e "\nCubeSatSim configuraation sim.cfg file updated to: \n"
|
|
|
|
|
|
|
|
|
|
echo $1 $resets $3 $4
|
|
|
|
|
|
|
|
|
|
echo $1 $resets $3 $4 > sim.cfg
|
|
|
|
|
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
|
|
|
|
|
@ -193,14 +191,12 @@ elif [ "$1" = "-l" ]; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo -e "\nCubeSatSim configuraation sim.cfg file updated to: \n"
|
|
|
|
|
|
|
|
|
|
echo $1 $2 $lat $long
|
|
|
|
|
|
|
|
|
|
echo $1 $2 $lat $long > sim.cfg
|
|
|
|
|
|
|
|
|
|
echo "Restarting CubeSatSim with new configuraation file"
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
# sudo systemctl restart cubesatsim
|
|
|
|
|
|