Browse Source

updated ui

#146
rootzoll 6 years ago
parent
commit
83f05925f4
  1. 34
      home.admin/00mainMenu.sh

34
home.admin/00mainMenu.sh

@ -113,8 +113,8 @@ waitUntilChainNetworkIsReady()
sleep 5 sleep 5
else else
return return
fi fi
done done
} }
## get actual setup state ## get actual setup state
@ -131,7 +131,7 @@ if [ ${setupState} -eq 0 ]; then
# old data setup # old data setup
BACKTITLE="RaspiBlitz - Manual Update" BACKTITLE="RaspiBlitz - Manual Update"
TITLE="⚡ Found old RaspiBlitz Data on HDD ⚡" TITLE="⚡ Found old RaspiBlitz Data on HDD ⚡"
MENU="\nChoose how to continue the manual update: \n " MENU="\n ATTENTION: OLD DATA COULD COINTAIN FUNDS\n"
OPTIONS+=(MANUAL "read how to recover your old funds" \ OPTIONS+=(MANUAL "read how to recover your old funds" \
DELETE "erase old data, keep blockchain, reboot" ) DELETE "erase old data, keep blockchain, reboot" )
HEIGHT=11 HEIGHT=11
@ -284,13 +284,13 @@ case $CHOICE in
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
FUNDING) FUNDING)
./BBfundWallet.sh ./BBfundWallet.sh
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
CASHOUT) CASHOUT)
./BBcashoutWallet.sh ./BBcashoutWallet.sh
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
@ -302,41 +302,41 @@ case $CHOICE in
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
SEND) SEND)
./BBpayInvoice.sh ./BBpayInvoice.sh
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
RECEIVE) RECEIVE)
./BBcreateInvoice.sh ./BBcreateInvoice.sh
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
SERVICES) SERVICES)
./00settingsMenuServices.sh ./00settingsMenuServices.sh
./00mainMenu.sh ./00mainMenu.sh
;; ;;
CLOSEALL) CLOSEALL)
./BBcloseAllChannels.sh ./BBcloseAllChannels.sh
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
SWITCH) SWITCH)
sudo ./95switchMainTest.sh sudo ./95switchMainTest.sh
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
MOBILE) MOBILE)
./97addMobileWallet.sh ./97addMobileWallet.sh
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
TOR) TOR)
sudo ./96addTorService.sh sudo ./96addTorService.sh
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
@ -348,19 +348,21 @@ case $CHOICE in
echo "Press ENTER to return to main menu." echo "Press ENTER to return to main menu."
read key read key
./00mainMenu.sh ./00mainMenu.sh
;; ;;
OFF) OFF)
echo "After Shutdown remove power from RaspiBlitz." echo "After Shutdown remove power from RaspiBlitz."
echo "Press ENTER to start shutdown - then wait some seconds." echo "Press ENTER to start shutdown - then wait some seconds."
read key read key
sudo shutdown now sudo shutdown now
exit 0 exit 0
;; ;;
MANUAL) MANUAL)
echo "************************************************************************************"
echo "PLEASE open in browser for more information:" echo "PLEASE open in browser for more information:"
echo "https://github.com/rootzoll/raspiblitz#recover-your-coins-from-a-failing-raspiblitz" echo "https://github.com/rootzoll/raspiblitz#recover-your-coins-from-a-failing-raspiblitz"
echo "************************************************************************************"
exit 0 exit 0
;; ;;
DELETE) DELETE)
sudo ./XXcleanHDD.sh sudo ./XXcleanHDD.sh
sudo shutdown -r now sudo shutdown -r now
@ -369,7 +371,7 @@ case $CHOICE in
X) X)
lncli -h lncli -h
echo "SUCH WOW come back with ./00mainMenu.sh" echo "SUCH WOW come back with ./00mainMenu.sh"
;; ;;
U) # unlock U) # unlock
./AAunlockLND.sh ./AAunlockLND.sh
./00mainMenu.sh ./00mainMenu.sh

Loading…
Cancel
Save