Browse Source

display CPU temp always/syncing

dev
fluidvoice 6 years ago
parent
commit
74aa17cec0
  1. 1
      home.admin/config.scripts/network.reindex.sh

1
home.admin/config.scripts/network.reindex.sh

@ -59,6 +59,7 @@ while [ ${finished} -eq 0 ]
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 | awk '{printf( "%.2f%%", 100 * $1)}')
inprogress="$(echo "${blockchaininfo}" | jq -r '.initialblockdownload')"
if [ "${inprogress}" = "false" ]; then
finished=1

Loading…
Cancel
Save