From e548f2e9c72ed527447d6e06e03dc73b04ded667 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Fri, 1 Oct 2021 12:16:18 +0200 Subject: [PATCH] move LND & CL sub menus up in main menu --- home.admin/00mainMenu.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index f96b2492e..d56479942 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -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