mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-19 10:28:58 +01:00
add more info on incomplete blockchain (#3526)
This commit is contained in:
@@ -81,7 +81,7 @@ do
|
|||||||
# https://github.com/rootzoll/raspiblitz/issues/2659
|
# https://github.com/rootzoll/raspiblitz/issues/2659
|
||||||
####################################################
|
####################################################
|
||||||
|
|
||||||
# once a day 5 minutes
|
# once a day
|
||||||
recheckLogs=$((($counter % 86400)+2))
|
recheckLogs=$((($counter % 86400)+2))
|
||||||
if [ ${recheckLogs} -eq 1 ]; then
|
if [ ${recheckLogs} -eq 1 ]; then
|
||||||
echo "*** MONITOR LOG SIZES ***"
|
echo "*** MONITOR LOG SIZES ***"
|
||||||
|
|||||||
@@ -291,6 +291,16 @@ if [ "$1" = "target" ]; then
|
|||||||
echo "restarting services ... (please wait)"
|
echo "restarting services ... (please wait)"
|
||||||
sudo systemctl enable bitcoind
|
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"
|
echo "rebooting"
|
||||||
/home/admin/config.scripts/blitz.shutdown.sh reboot
|
/home/admin/config.scripts/blitz.shutdown.sh reboot
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user