mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
reorder main menu
This commit is contained in:
parent
0fe02b69ce
commit
1dfb3f102f
1 changed files with 2 additions and 2 deletions
|
@ -74,14 +74,14 @@ OPTIONS+=(MOBILE "Connect Mobile Wallet")
|
|||
OPTIONS+=(EXPORT "Macaroons and TLS.cert")
|
||||
OPTIONS+=(NAME "Change Name/Alias of Node")
|
||||
OPTIONS+=(PASSWORD "Change Passwords")
|
||||
OPTIONS+=(CASHOUT "Remove Funds from LND")
|
||||
|
||||
# Depending Options
|
||||
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
|
||||
OPTIONS+=(CLOSEALL "Close all open Channels")
|
||||
fi
|
||||
|
||||
OPTIONS+=(CASHOUT "Remove Funds from LND")
|
||||
|
||||
if [ "${runBehindTor}" == "on" ]; then
|
||||
OPTIONS+=(TOR "Monitor TOR Service")
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue