Update config to delete command_count instead of reset to 0

sr-frs-rx
Alan Johnston 2 years ago committed by GitHub
parent 5a9712d7ec
commit 268912973c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -399,7 +399,7 @@ elif [ "$1" = "-R" ]; then
echo echo
if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then
sudo echo "0" > /home/pi/CubeSatSim/command_count.txt sudo rum /home/pi/CubeSatSim/command_count.txt
echo "Commands count reset to 0" echo "Commands count reset to 0"
else else
echo "Commands count not reset" echo "Commands count not reset"

Loading…
Cancel
Save

Powered by TurnKey Linux.