mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 04:00:34 +02:00
add MAINNET menu if not default
This commit is contained in:
@@ -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
|
||||
|
@@ -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))
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user