From ec4ee895ed45aecc987a2feeafc17bba0af760a9 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Tue, 16 Apr 2019 22:07:59 +0100 Subject: [PATCH] admin detail --- home.admin/80scanLND.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/home.admin/80scanLND.sh b/home.admin/80scanLND.sh index 17b574f..1be7061 100755 --- a/home.admin/80scanLND.sh +++ b/home.admin/80scanLND.sh @@ -7,7 +7,7 @@ source /mnt/hdd/raspiblitz.conf source <(sudo /home/admin/config.scripts/blitz.statusscan.sh) height=6 -width=44 +width=42 #infoStr=" Waiting for Blockchain Sync\n Progress: ${syncProgress}% \n Please wait - this can take some time.\n ssh admin@${localIP} -> Password A" title="Node is Syncing" @@ -17,7 +17,12 @@ fi if [ ${#scanProgress} -lt 6 ]; then scanProgress=" ${scanProgress}" fi -infoStr=" Blockchain Progress : ${syncProgress}%\n Lightning Progress : ${scanProgress}%\n Please wait - this can take some time\n ssh admin@${localIP} ->Password A" + +infoStr=" Blockchain Progress : ${syncProgress}%\n Lightning Progress : ${scanProgress}%\n Please wait - this can take some time" +adminStr="ssh admin@${localIP} ->Password A" +if [ "$USER" == "admin" ]; then + adminStr="Use CTRL+c to EXIT to Terminal" +fi # display progress to user -dialog --title " ${title} " --backtitle "RaspiBlitz ${codeVersion} ${hostname} / ${network} / ${chain} / ${tempCelsius}°C" --infobox "${infoStr}" ${height} ${width} \ No newline at end of file +dialog --title " ${title} " --backtitle "RaspiBlitz ${codeVersion} ${hostname} / ${network} / ${chain} / ${tempCelsius}°C" --infobox "${infoStr}\n${adminStr}" ${height} ${width} \ No newline at end of file