From 1cf1577e9c283e7c16854c6812aa7b374d68bf00 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 8 Jan 2024 03:55:11 -0500 Subject: [PATCH] Update config copy telem.txt to .bk when logs cleared --- config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config b/config index 9b3a372d..c85ecd12 100755 --- a/config +++ b/config @@ -424,6 +424,8 @@ elif [ "$1" = "-C" ]; then sudo systemctl stop cubesatsim sudo systemctl stop rpitx + sudo mv /home/pi/CubeSatSim/telem.txt /home/pi/CubeSatSim/telem.txt.bk + sudo journalctl --rotate sudo journalctl --vacuum-time=1s