From 7972f4a09c100e596de2e51d893fd1251f7e4a5d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 13 Aug 2023 13:23:54 -0400 Subject: [PATCH] Update config with set command_count.txt to 0 --- config | 1 + 1 file changed, 1 insertion(+) diff --git a/config b/config index 1f57ced2..87193d42 100755 --- a/config +++ b/config @@ -403,6 +403,7 @@ elif [ "$1" = "-R" ]; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then sudo rm /home/pi/CubeSatSim/command_count.txt echo "Commands count reset to 0" + echo "0\n" > /home/pi/CubeSatSim/command_count.txt else echo "Commands count not reset" fi