From 5a087296446e8bf84dcd913c2933bc6d04df7a0b Mon Sep 17 00:00:00 2001 From: /rootzoll Date: Thu, 15 Dec 2022 17:58:41 +0100 Subject: [PATCH] add more info on incomplete blockchain (#3526) --- home.admin/_background.sh | 2 +- home.admin/config.scripts/blitz.copychain.sh | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/home.admin/_background.sh b/home.admin/_background.sh index 1b55fcf6..09ef87c2 100755 --- a/home.admin/_background.sh +++ b/home.admin/_background.sh @@ -81,7 +81,7 @@ do # https://github.com/rootzoll/raspiblitz/issues/2659 #################################################### - # once a day 5 minutes + # once a day recheckLogs=$((($counter % 86400)+2)) if [ ${recheckLogs} -eq 1 ]; then echo "*** MONITOR LOG SIZES ***" diff --git a/home.admin/config.scripts/blitz.copychain.sh b/home.admin/config.scripts/blitz.copychain.sh index 00d6edcc..4c7d7d2e 100644 --- a/home.admin/config.scripts/blitz.copychain.sh +++ b/home.admin/config.scripts/blitz.copychain.sh @@ -275,7 +275,7 @@ if [ "$1" = "target" ]; then case $response in 1) quickCheckOK=1 ;; esac - + fi if [ ${quickCheckOK} -eq 0 ]; then @@ -291,6 +291,16 @@ if [ "$1" = "target" ]; then echo "restarting services ... (please wait)" sudo systemctl enable bitcoind + clear + echo "****************************************************************************" + echo "OK your RaspiBlitz will now go into reboot and try to sync the blockchain" + echo "by itself. If you run into troubles you can always cut power and restart" + echo "setup with a fresh flashed sd card." + echo "****************************************************************************" + echo "PRESS ENTER to trigger reboot." + sleep 1 + read key + echo "rebooting" /home/admin/config.scripts/blitz.shutdown.sh reboot exit