mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-13 06:09:47 +02:00
main menu reorder
This commit is contained in:
parent
1dfb3f102f
commit
350eec0610
@ -63,17 +63,8 @@ OPTIONS+=(INFO "RaspiBlitz Status Screen")
|
||||
OPTIONS+=(FUNDING "Fund your LND Wallet")
|
||||
OPTIONS+=(CONNECT "Connect to a Peer")
|
||||
OPTIONS+=(CHANNEL "Open a Channel with Peer")
|
||||
if [ "${chain}" = "main" ]; then
|
||||
OPTIONS+=(lnbalance "Detailed Wallet Balances")
|
||||
OPTIONS+=(lnchannels "Lightning Channel List")
|
||||
fi
|
||||
OPTIONS+=(SEND "Pay an Invoice/PaymentRequest")
|
||||
OPTIONS+=(RECEIVE "Create Invoice/PaymentRequest")
|
||||
OPTIONS+=(SERVICES "Activate/Deactivate Services")
|
||||
OPTIONS+=(MOBILE "Connect Mobile Wallet")
|
||||
OPTIONS+=(EXPORT "Macaroons and TLS.cert")
|
||||
OPTIONS+=(NAME "Change Name/Alias of Node")
|
||||
OPTIONS+=(PASSWORD "Change Passwords")
|
||||
|
||||
openChannels=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net listchannels 2>/dev/null | jq '.[] | length')
|
||||
if [ ${#openChannels} -gt 0 ] && [ ${openChannels} -gt 0 ]; then
|
||||
@ -82,6 +73,17 @@ fi
|
||||
|
||||
OPTIONS+=(CASHOUT "Remove Funds from LND")
|
||||
|
||||
if [ "${chain}" = "main" ]; then
|
||||
OPTIONS+=(lnbalance "Detailed Wallet Balances")
|
||||
OPTIONS+=(lnchannels "Lightning Channel List")
|
||||
fi
|
||||
|
||||
OPTIONS+=(SERVICES "Activate/Deactivate Services")
|
||||
OPTIONS+=(MOBILE "Connect Mobile Wallet")
|
||||
OPTIONS+=(EXPORT "Macaroons and TLS.cert")
|
||||
OPTIONS+=(NAME "Change Name/Alias of Node")
|
||||
OPTIONS+=(PASSWORD "Change Passwords")
|
||||
|
||||
if [ "${runBehindTor}" == "on" ]; then
|
||||
OPTIONS+=(TOR "Monitor TOR Service")
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user