Update config added missing ${11}

pull/346/head
Alan Johnston 1 year ago committed by GitHub
parent 5d0e55dbc6
commit c6ad23fa1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -501,8 +501,8 @@ elif [ "$1" = "-t" ]; then
# echo # echo
echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n"
# echo # echo
echo $1 $2 $3 $4 $sim $6 $7 $8 $9 ${10} echo $1 $2 $3 $4 $sim $6 $7 $8 $9 ${10} ${11}
echo $1 $2 $3 $4 $sim $6 $7 $8 $9 ${10} > /home/pi/CubeSatSim/sim.cfg echo $1 $2 $3 $4 $sim $6 $7 $8 $9 ${10} ${11} > /home/pi/CubeSatSim/sim.cfg
echo echo
## echo "Rebooting CubeSatSim with new configuration file" ## echo "Rebooting CubeSatSim with new configuration file"
## echo ## echo
@ -543,8 +543,8 @@ elif [ "$1" = "-c" ]; then
echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n"
echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11}
echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} > /home/pi/CubeSatSim/sim.cfg echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} > /home/pi/CubeSatSim/sim.cfg
fi fi
if [ "$norestart" = "1" ]; then if [ "$norestart" = "1" ]; then
@ -597,8 +597,8 @@ elif [ "$1" = "-r" ]; then
echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n"
echo $1 $resets $3 $4 $5 $6 $7 $8 $9 ${10} echo $1 $resets $3 $4 $5 $6 $7 $8 $9 ${10} ${11}
echo $1 $resets $3 $4 $5 $6 $7 $8 $9 ${10} > /home/pi/CubeSatSim/sim.cfg echo $1 $resets $3 $4 $5 $6 $7 $8 $9 ${10} ${11} > /home/pi/CubeSatSim/sim.cfg
fi fi
if [ "$norestart" = "1" ]; then if [ "$norestart" = "1" ]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.