From 380c51ef56ce5cebbae4a9ec55a99229f8e12f94 Mon Sep 17 00:00:00 2001
From: crowetic <5431064+crowetic@users.noreply.github.com>
Date: Fri, 2 Jun 2023 14:52:07 -0700
Subject: [PATCH] Update auto-fix-qortal.sh

removed status script from desktop and moved to qortal folder.
---
 auto-fix-qortal.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/auto-fix-qortal.sh b/auto-fix-qortal.sh
index e5b4b90..877cfb6 100644
--- a/auto-fix-qortal.sh
+++ b/auto-fix-qortal.sh
@@ -21,7 +21,8 @@ TIMESTAMP=`date +%s`
         if [ "$INTERNET_STATUS" != "UP" ]; then
             echo "${BLUE}Internet connection is UP, continuing${NC}\n   `date +%Y-%m-%dT%H:%M:%S%Z` $((`date +%s`-$TIMESTAMP))";
             INTERNET_STATUS="UP"
-	    curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/check-qortal-status.sh && mv check-qortal-status.sh ~/Desktop && chmod +x ~/Desktop/check-qortal-status.sh
+	    rm -rf ~/Desktop/check-qortal-status.sh
+	    curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/check-qortal-status.sh && mv check-qortal-status.sh ~/qortal && chmod +x ~/qortal/check-qortal-status.sh
 	    curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/start-qortal.sh && chmod +x start-qortal.sh
 	    curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/refresh-qortal.sh && chmod +x refresh-qortal.sh
 	fi