From c3d86184d59a2b9c47dfb72f3258af8c3dac5eb9 Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Fri, 18 Nov 2022 07:45:19 -0800 Subject: [PATCH] add settings.json modification and check script added download of slightly modified settings.json and check-qortal-status.sh script for desktop --- auto-fix-qortal.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auto-fix-qortal.sh b/auto-fix-qortal.sh index 357fd1e..36702b2 100644 --- a/auto-fix-qortal.sh +++ b/auto-fix-qortal.sh @@ -19,6 +19,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/settings.json && mv settings.json ~/qortal + 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 fi else if [ "$INTERNET_STATUS" = "UP" ]; then