From a062611fcf2d087f1b1f0f0eca1cab11444aef91 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 13 Aug 2023 11:15:31 -0400 Subject: [PATCH] Update config fix command_state --- config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config b/config index 72dbd818..48118e3f 100755 --- a/config +++ b/config @@ -367,7 +367,7 @@ elif [ "$1" = "-T" ]; then echo echo "Current command state is:" - cat /home/pi/CubeSatSim/command_state.txt + cat /home/pi/CubeSatSim/command_state echo echo "Do you want to set beacon transmit to ON (y/n) " @@ -375,10 +375,10 @@ elif [ "$1" = "-T" ]; then echo if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then - echo "True" > /home/pi/CubeSatSim/command_count.txt + echo "True" > /home/pi/CubeSatSim/command_state echo "Command state set to True to enable beacon" else - echo "False" > /home/pi/CubeSatSim/command_count.txt + echo "False" > /home/pi/CubeSatSim/command_state echo "Command state set to False to disable beacon" fi