Update config rest of configuraation

beta-v1.3.1.1-sim
Alan Johnston 2 years ago committed by GitHub
parent 9dce00eed1
commit 56bca8de37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by TurnKey Linux.