move LND & CL sub menus up in main menu

This commit is contained in:
rootzoll
2021-10-01 12:16:18 +02:00
parent 4149d5d4cf
commit e548f2e9c7

View File

@@ -69,6 +69,16 @@ BACKTITLE="${localip} / ${hostname} / ${network} ${plus}"
# Basic Options
OPTIONS+=(INFO "RaspiBlitz Status Screen")
# if LND is active
if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then
OPTIONS+=(LND "LND Wallet Options")
fi
# if C-Lightning is active
if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ]; then
OPTIONS+=(CL "C-lightning Wallet Options")
fi
# Activated Apps/Services
if [ "${rtlWebinterface}" == "on" ]; then
OPTIONS+=(LRTL "LND RTL Webinterface")
@@ -142,16 +152,6 @@ fi
# OPTIONS+=(MAINNET "Mainnet Service Options")
#fi
# if LND is active
if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then
OPTIONS+=(LND "LND Wallet Options")
fi
# if C-Lightning is active
if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ]; then
OPTIONS+=(CL "C-lightning Wallet Options")
fi
if [ "${testnet}" == "on" ]; then
OPTIONS+=(TESTNETS "Testnet/Signet Options")
fi