Update config with set command_count.txt to 0

sr-frs-rx
Alan Johnston 2 years ago committed by GitHub
parent 34d9409f23
commit 7972f4a09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.