From e455d4a73049f1234889ac355d4123909d85cefe Mon Sep 17 00:00:00 2001 From: rootzoll Date: Tue, 25 May 2021 18:08:45 -0500 Subject: [PATCH] fix text --- home.admin/00raspiblitz.sh | 2 -- home.admin/_provision.setup.sh | 2 +- home.admin/setup.scripts/finalDialogControl.sh | 13 ++++++++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/home.admin/00raspiblitz.sh b/home.admin/00raspiblitz.sh index fbf5b566b..4383a00e9 100755 --- a/home.admin/00raspiblitz.sh +++ b/home.admin/00raspiblitz.sh @@ -81,8 +81,6 @@ do # when is needed & bootstrap process signals that it waits for user dialog if [ "${setupPhase}" != "done" ] && [ "${state}" == "waitfinal" ]; then - echo "TESTER" - sleep 3 # push to final setup gui dialogs /home/admin/setup.scripts/finalDialogControl.sh state="starting" diff --git a/home.admin/_provision.setup.sh b/home.admin/_provision.setup.sh index caf9f550d..3e490de30 100755 --- a/home.admin/_provision.setup.sh +++ b/home.admin/_provision.setup.sh @@ -299,7 +299,7 @@ if [ "${lightning}" == "lnd" ]; then fi # write created seedwords into SETUPFILE to be displayed to user on final setup later - echo "'seedwordsNEW='${seedwords}'" >> ${setupFile} + echo "seedwordsNEW='${seedwords}'" >> ${setupFile} echo "seedwords6x4NEW='${seedwords6x4}'" >> ${setupFile} fi diff --git a/home.admin/setup.scripts/finalDialogControl.sh b/home.admin/setup.scripts/finalDialogControl.sh index ef2687b05..fb8a392a6 100755 --- a/home.admin/setup.scripts/finalDialogControl.sh +++ b/home.admin/setup.scripts/finalDialogControl.sh @@ -12,11 +12,11 @@ source ${SETUPFILE} ############################################ # SHOW SEED WORDS AFTER SETUP if [ "${setupPhase}" == "setup" ]; then - - echo "Write down your seedwords: ${seedwords6x4NEW}" + clear + echo "Write down your seedwords:" + echo "${seedwords6x4NEW}" echo "PRESS ENTER" read key - fi ############################################ @@ -24,18 +24,21 @@ fi # when coming from fresh setup if [ "${setupPhase}" == "setup" ]; - + clear echo "Hooray :) Everything is Setup!" echo "PRESS ENTER" read key +# when coming from migration from other node elif [ "${setupPhase}" == "migration" ]; then - + clear echo "Hooray :) Your Migration to RaspiBlitz is Done!" echo "PRESS ENTER" read key +# just in case then from another phase else + clear echo "Missing Final Done Dialog for: ${setupPhase}" echo "PRESS ENTER" read key