mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
fix monitoring
This commit is contained in:
parent
c5e08620f6
commit
72dea6bcea
@ -55,7 +55,7 @@ while [ ${finished} -eq 0 ]
|
||||
# get blockchain sync progress
|
||||
blockchaininfo=$(sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo)
|
||||
progress=$(echo "${blockchaininfo}" | jq -r '.verificationprogress')
|
||||
progress=$(echo "${progress}*100" | bc)
|
||||
#progress=$(echo "${progress}*100" | bc)
|
||||
inprogress="$(echo "${blockchaininfo}" | jq -r '.initialblockdownload')"
|
||||
|
||||
echo ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user