mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 03:56:21 +02:00
Progress screen
This commit is contained in:
@@ -6,12 +6,11 @@ source /mnt/hdd/raspiblitz.conf
|
|||||||
source <(sudo /home/admin/config.scripts/blitz.statusscan.sh)
|
source <(sudo /home/admin/config.scripts/blitz.statusscan.sh)
|
||||||
|
|
||||||
height=6
|
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=" Waiting for Blockchain Sync\n Progress: ${syncProgress}% \n Please wait - this can take some time.\n ssh admin@${localIP} -> 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=" 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
|
# display progress to user
|
||||||
sleep 3
|
|
||||||
temp=$(echo "scale=1; $(cat /sys/class/thermal/thermal_zone0/temp)/1000" | bc)
|
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}
|
dialog --title " ${network} / ${chain} " --backtitle "RaspiBlitz (${hostname}) CPU: ${temp}°C" --infobox "${infoStr}" ${height} ${width}
|
Reference in New Issue
Block a user