Update log don't cat log after real time

master-b3
Alan Johnston 1 month ago committed by GitHub
parent e88e0894cf
commit 79a9e9aadf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
log

@ -35,11 +35,11 @@ if [ "$REALTIME" = "1" ] ; then
# echo -e "\nTransmit Log file also saved as /home/pi/CubeSatSim/logt.txt"
elif [ "$1" = "-c" ]; then
sudo journalctl -b all -af -u command # > /home/pi/CubeSatSim/logc.txt
cat /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 -b all -af -u pacsatsim # > /home/pi/CubeSatSim/logp.txt
cat /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"
elif [ "$1" = "-r" ]; then
sudo journalctl -b all -af -u frequency # > /home/pi/CubeSatSim/logr.txt

Loading…
Cancel
Save

Powered by TurnKey Linux.