Browse Source

remove ENTER at the end from funding

master
Christian Rotzoll 6 years ago
parent
commit
8dcaff61e4
  1. 2
      home.admin/00mainMenu.sh
  2. 7
      home.admin/BBfundWallet.sh

2
home.admin/00mainMenu.sh

@ -439,8 +439,6 @@ case $CHOICE in
;; ;;
FUNDING) FUNDING)
./BBfundWallet.sh ./BBfundWallet.sh
echo "Press ENTER to return to main menu."
read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
CASHOUT) CASHOUT)

7
home.admin/BBfundWallet.sh

@ -15,6 +15,9 @@ fi
chainOutSync=$(lncli --chain=${network} --network=${chain}net getinfo | grep '"synced_to_chain": false' -c) chainOutSync=$(lncli --chain=${network} --network=${chain}net getinfo | grep '"synced_to_chain": false' -c)
if [ ${chainOutSync} -eq 1 ]; then if [ ${chainOutSync} -eq 1 ]; then
echo "FAIL PRECHECK - lncli getinfo shows 'synced_to_chain': false - wait until chain is sync " 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 exit 1
fi fi
@ -29,6 +32,8 @@ echo "$result"
if [ ${#result} -eq 0 ]; then if [ ${#result} -eq 0 ]; then
echo "Empty result - sorry something went wrong - thats unusual." echo "Empty result - sorry something went wrong - thats unusual."
echo "" echo ""
echo "PRESS ENTER to return to menu"
read key
exit 1 exit 1
fi fi
@ -73,4 +78,4 @@ rm -f qr.txt
# follow up info # follow up info
whiptail --backtitle "Fund your on chain wallet" \ whiptail --backtitle "Fund your on chain wallet" \
--title "What's next?" \ --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
Loading…
Cancel
Save