From 3f14615c770f011b1964036fe8036e5c71138296 Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Sun, 28 May 2023 09:35:02 -0700 Subject: [PATCH] Update auto-fix-qortal.sh modified some wording and sleep times. --- auto-fix-qortal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto-fix-qortal.sh b/auto-fix-qortal.sh index 22fe5f9..e423cd4 100644 --- a/auto-fix-qortal.sh +++ b/auto-fix-qortal.sh @@ -27,7 +27,7 @@ TIMESTAMP=`date +%s` fi else if [ "$INTERNET_STATUS" = "UP" ]; then - echo "${RED}Internet Connection is DOWN, please fix connection and restart device${NC}\n `date +%Y-%m-%dT%H:%M:%S%Z` $((`date +%s`-$TIMESTAMP))"; + echo "${RED}Internet Connection is DOWN, please fix connection and restart device, script will re-run automatically after 7 min.${NC}\n `date +%Y-%m-%dT%H:%M:%S%Z` $((`date +%s`-$TIMESTAMP))"; INTERNET_STATUS="DOWN" sleep 30 exit 1 @@ -76,7 +76,7 @@ REMOTE=$(cat ~/remote.md5) if [ "$LOCAL" = "$REMOTE" ]; then echo "${BLUE} Your Qortal Core is up-to-date! No action needed. ${NC}\n" - sleep 5 + sleep 3 rm ~/qortal.jar rm ~/qortal/local.md5 remote.md5 mkdir ~/qortal/new-scripts