Browse Source

Progress screen

master
Christian Rotzoll 6 years ago
parent
commit
2d0a6f5db6
  1. 7
      home.admin/80scanLND.sh

7
home.admin/80scanLND.sh

@ -6,12 +6,11 @@ source /mnt/hdd/raspiblitz.conf
source <(sudo /home/admin/config.scripts/blitz.statusscan.sh)
height=6
width=44
width=52
#infoStr=" Waiting for Blockchain Sync\n Progress: ${syncProgress}% \n Please wait - this can take some time.\n ssh admin@${localIP}\n Password A"
infoStr=" Lightning Scanning Blockchain\n Progress: ${scanProgress}%\n Please wait - this can take some time\n ssh admin@${localIP}\n Password A"
#infoStr=" Waiting for Blockchain Sync\n Progress: ${syncProgress}% \n Please wait - this can take some time.\n ssh admin@${localIP} -> Password A"
infoStr=" Node is Syncing\n Blockchain Progress : ${scanProgress}%\n Lightning Progress : ${scanProgress}%\n Please wait - this can take some time\n ssh admin@${localIP} ->Password A"
# display progress to user
sleep 3
temp=$(echo "scale=1; $(cat /sys/class/thermal/thermal_zone0/temp)/1000" | bc)
dialog --title " ${network} / ${chain} " --backtitle "RaspiBlitz (${hostname}) CPU: ${temp}°C" --infobox "${infoStr}" ${height} ${width}
Loading…
Cancel
Save