mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
fix monitoring
This commit is contained in:
@@ -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 ""
|
||||
|
Reference in New Issue
Block a user