more monitor info

This commit is contained in:
rootzoll 2019-01-28 15:55:14 +01:00
parent 6f788591cf
commit 61f4f6faa5

View File

@ -47,12 +47,21 @@ while [ ${finished} -eq 0 ]
echo "*************************"
echo "REINDEXING BLOCKCHAIN"
echo "*************************"
date
echo "THIS CAN TAKE SOME LONG TIME"
echo "If you dont see any progress after 24h keep X pressed to stop."
progress=0
echo ""
echo "PROGRESS: ${progress}%"
echo ""
#TODO: detect and display progress
#TODO: determine when finished and then finished=1
echo "You can close terminal while reindex is running.."
echo "But you have to login again to check if ready."
# wait 2 seconds for key input
read -n 1 -t 2 keyPressed