Update log fix cat logr.txt

master-be
Alan Johnston 2 weeks ago committed by GitHub
parent 2f8313f9cd
commit 1b63cfa816
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
log

@ -70,7 +70,7 @@ else
echo -e "\nCommand and Control Log file also saved as /home/pi/CubeSatSim/logp.txt" echo -e "\nCommand and Control Log file also saved as /home/pi/CubeSatSim/logp.txt"
elif [ "$1" = "-r" ]; then elif [ "$1" = "-r" ]; then
sudo journalctl -a -u frequency > /home/pi/CubeSatSim/logr.txt sudo journalctl -a -u frequency > /home/pi/CubeSatSim/logr.txt
cat /home/pi/CubeSatSim/logf.txt cat /home/pi/CubeSatSim/logr.txt
echo -e "\nFrequency Log file also saved as /home/pi/CubeSatSim/logf.txt" echo -e "\nFrequency Log file also saved as /home/pi/CubeSatSim/logf.txt"
elif [ "$1" = "-f" ] ; then elif [ "$1" = "-f" ] ; then
cat /home/pi/CubeSatSim/frequency.txt cat /home/pi/CubeSatSim/frequency.txt

Loading…
Cancel
Save

Powered by TurnKey Linux.