Update config add clear logs to reset -g

release
Alan Johnston 1 year ago committed by GitHub
parent 855dbcce96
commit 928d86589a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1378,7 +1378,7 @@ elif [ "$1" = "-g" ]; then
echo "AMSAT 0 0 0 no 3 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg echo "AMSAT 0 0 0 no 3 434.9 435 no 0 0" > /home/pi/CubeSatSim/sim.cfg
sudo echo "f" > /home/pi/CubeSatSim/.mode sudo echo "b" > /home/pi/CubeSatSim/.mode
sudo rm /home/pi/CubeSatSim/battery_saver > /dev/null 2>&1 sudo rm /home/pi/CubeSatSim/battery_saver > /dev/null 2>&1
@ -1390,6 +1390,15 @@ elif [ "$1" = "-g" ]; then
sudo echo "0" > /home/pi/CubeSatSim/command_count.txt sudo echo "0" > /home/pi/CubeSatSim/command_count.txt
sudo systemctl stop cubesatsim
sudo systemctl stop rpitx
sudo systemctl stop command
sudo mv -f /home/pi/CubeSatSim/telem.txt /home/pi/CubeSatSim/telem.txt.bk
sudo journalctl --rotate
sudo journalctl --vacuum-time=1s
reboot=1 reboot=1
else else

Loading…
Cancel
Save

Powered by TurnKey Linux.