only show main lightning impl options for RC1

This commit is contained in:
rootzoll
2021-07-23 00:56:18 +02:00
parent 77d86b51e1
commit 594f62ecd9

View File

@@ -186,16 +186,24 @@ fi
# Basic Options
OPTIONS+=(INFO "RaspiBlitz Status Screen")
# if LND is main lightning
if [ "${lightning}" == "lnd" ]; then
OPTIONS+=(LND "LND Wallet Options")
fi
if [ "$cln" == "on" ] || [ $chain = test ] && [ "$tcln" == "on" ]; then
# if C-Lighthing is main lightning
if [ "${lightning}" == "cln" ]; then
# if CLN is main lightning
OPTIONS+=(CLN "C-lightning Wallet Options")
HEIGHT=$((HEIGHT+1))
CHOICE_HEIGHT=$((CHOICE_HEIGHT+1))
fi
# TODO: when more then one Lightning is active
#if [ "$cln" == "on" ] || [ $chain = test ] && [ "$tcln" == "on" ]; then
# OPTIONS+=(CLN "C-lightning Wallet Options")
# HEIGHT=$((HEIGHT+1))
# CHOICE_HEIGHT=$((CHOICE_HEIGHT+1))
#fi
OPTIONS+=(SETTINGS "Node Settings & Options")
OPTIONS+=(SERVICES "Additional Apps & Services")
OPTIONS+=(SYSTEM "Monitoring & Configuration")