From ca82d221de78f8f4b73c0b95eeb2fb9448fbb3ae Mon Sep 17 00:00:00 2001 From: openoms Date: Sun, 23 May 2021 11:44:35 +0100 Subject: [PATCH] add MAINNET menu if not default --- home.admin/00chainMenu.sh | 2 +- home.admin/00mainMenu.sh | 2 +- home.admin/config.scripts/bonus.rtl.sh | 2 +- home.admin/config.scripts/lnd.chain.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home.admin/00chainMenu.sh b/home.admin/00chainMenu.sh index 044387bee..f1d0f00dd 100644 --- a/home.admin/00chainMenu.sh +++ b/home.admin/00chainMenu.sh @@ -88,7 +88,7 @@ fi OPTIONS+=(INFO "RaspiBlitz Status Screen for ${CHAIN}") if [ "$testnet" == "on" ]; then -OPTIONS+=(SERVICES "Additional Apps & Services on testnet") +OPTIONS+=(SERVICES "Additional Apps & Services on ${CHAIN}") HEIGHT=$((HEIGHT+1)) CHOICE_HEIGHT=$((CHOICE_HEIGHT+1)) fi diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index 6766644c8..fc80524e2 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -177,7 +177,7 @@ if [ "${testnet}" == "on" ]&&[ ${chain} != test ];then CHOICE_HEIGHT=$((CHOICE_HEIGHT+1)) fi -if [ "${mainnet}" == "on" ]&&[ ${chain} != main ];then +if [ ${chain} != main ];then OPTIONS+=(MAINNET "Mainnet Service Options") HEIGHT=$((HEIGHT+1)) CHOICE_HEIGHT=$((CHOICE_HEIGHT+1)) diff --git a/home.admin/config.scripts/bonus.rtl.sh b/home.admin/config.scripts/bonus.rtl.sh index bf0495e94..067140cef 100755 --- a/home.admin/config.scripts/bonus.rtl.sh +++ b/home.admin/config.scripts/bonus.rtl.sh @@ -373,7 +373,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then isInstalled=$(sudo ls /etc/systemd/system/${chainprefix}${typeprefix}RTL.service 2>/dev/null | grep -c "${chainprefix}${typeprefix}RTL.service") if [ ${isInstalled} -eq 1 ]; then - echo "# Removing the RTL for ${LNTYPE} ${CHAIN}" + echo "# Removing RTL for ${LNTYPE} ${CHAIN}" sudo systemctl disable ${chainprefix}${typeprefix}RTL sudo rm /etc/systemd/system/${chainprefix}${typeprefix}RTL.service if [ $LNTYPE = cln ];then diff --git a/home.admin/config.scripts/lnd.chain.sh b/home.admin/config.scripts/lnd.chain.sh index 2ce8a483b..406f5dec9 100644 --- a/home.admin/config.scripts/lnd.chain.sh +++ b/home.admin/config.scripts/lnd.chain.sh @@ -12,7 +12,7 @@ fi # CHAIN is signet | testnet | mainnet CHAIN=$2 if [ ${CHAIN} = testnet ]||[ ${CHAIN} = mainnet ];then - echo "# Installing the LND instance on ${CHAIN}" + echo "# Configuring the LND instance on ${CHAIN}" elif [ ${CHAIN} = signet ]; then echo "# Signet is not yet supported in LND" echo "# see https://github.com/lightningnetwork/lnd/issues/5018"