Update config fixed reboot messages

beta-drop
Alan Johnston 2 years ago committed by GitHub
parent e8cb18054a
commit c233f69734
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -168,7 +168,7 @@ elif [ "$1" = "-h" ]; then
echo " -f Change to FSK/DUV mode" echo " -f Change to FSK/DUV mode"
echo " -b Change to BPSK mode" echo " -b Change to BPSK mode"
echo " -s Change to SSTV mode" echo " -s Change to SSTV mode"
echo " -i Restarts CubeSatsim software" echo " -i Reboots CubeSatsim software"
echo " -c Change the CALLSIGN in the configuration file sim.cfg" echo " -c Change the CALLSIGN in the configuration file sim.cfg"
echo " -t Change the Simulated Telemetry setting in sim.cfg" echo " -t Change the Simulated Telemetry setting in sim.cfg"
echo " -r Change the Resets Count in the configuration file sim.cfg" echo " -r Change the Resets Count in the configuration file sim.cfg"
@ -225,7 +225,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 configuration file" echo "Rebooting CubeSatSim with new configuration file"
echo echo
sudo reboot now sudo reboot now
@ -324,7 +324,7 @@ elif [ "$1" = "-r" ]; then
echo echo
else else
echo echo
echo "Restarting CubeSatSim with new configuration file" echo "Rebooting CubeSatSim with new configuration file"
echo echo
sudo reboot now sudo reboot now
# sudo systemctl restart cubesatsim # sudo systemctl restart cubesatsim

Loading…
Cancel
Save

Powered by TurnKey Linux.