Update log added -p for pacsatsim

pull/405/head
Alan Johnston 1 year ago committed by GitHub
parent 7f5e890fda
commit 7a94bdf6ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
log

@ -10,6 +10,10 @@ elif [ "$1" = "-c" ]; then
sudo journalctl -a -u command > /home/pi/CubeSatSim/logc.txt
cat /home/pi/CubeSatSim/logc.txt
echo -e "\nCommand and Control Log file also saved as /home/pi/CubeSatSim/logc.txt"
elif [ "$1" = "-p" ]; then
sudo journalctl -a -u pacsatsim > /home/pi/CubeSatSim/logp.txt
cat /home/pi/CubeSatSim/logp.txt
echo -e "\nCommand and Control Log file also saved as /home/pi/CubeSatSim/logp.txt"
else
sudo journalctl -a -u cubesatsim > /home/pi/CubeSatSim/log.txt
cat /home/pi/CubeSatSim/log.txt

Loading…
Cancel
Save

Powered by TurnKey Linux.