From 8dcaff61e452123440ee44680765fb72e61f6efe Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 4 Apr 2019 02:29:04 +0100 Subject: [PATCH] remove ENTER at the end from funding --- home.admin/00mainMenu.sh | 2 -- home.admin/BBfundWallet.sh | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index 445ac34..1325dd3 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -439,8 +439,6 @@ case $CHOICE in ;; FUNDING) ./BBfundWallet.sh - echo "Press ENTER to return to main menu." - read key ./00mainMenu.sh ;; CASHOUT) diff --git a/home.admin/BBfundWallet.sh b/home.admin/BBfundWallet.sh index 1b987b7..711fdf0 100755 --- a/home.admin/BBfundWallet.sh +++ b/home.admin/BBfundWallet.sh @@ -15,6 +15,9 @@ fi chainOutSync=$(lncli --chain=${network} --network=${chain}net getinfo | grep '"synced_to_chain": false' -c) if [ ${chainOutSync} -eq 1 ]; then echo "FAIL PRECHECK - lncli getinfo shows 'synced_to_chain': false - wait until chain is sync " + echo "" + echo "PRESS ENTER to return to menu" + read key exit 1 fi @@ -29,6 +32,8 @@ echo "$result" if [ ${#result} -eq 0 ]; then echo "Empty result - sorry something went wrong - thats unusual." echo "" + echo "PRESS ENTER to return to menu" + read key exit 1 fi @@ -73,4 +78,4 @@ rm -f qr.txt # follow up info whiptail --backtitle "Fund your on chain wallet" \ --title "What's next?" \ - --msgbox "Wait for confirmations. \n\nYou can use info on LCD to check if funds have arrived. \n\nIf you want your lighting node to open channels automatically, activate the 'Autopilot' under 'Activate/Deactivate Services'" 0 0 + --msgbox "Wait for confirmations. \n\nYou can use info on LCD to check if funds have arrived. \n\nIf you want your lighting node to open channels automatically, activate the 'Autopilot' under 'Activate/Deactivate Services'" 0 0 \ No newline at end of file