Browse Source

default value for LND_CONTAINER_NAME is lnd

master
nolim1t 4 years ago
parent
commit
f4848bbcab
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 5
      switch.sh

5
switch.sh

@ -22,6 +22,11 @@ if [ -z $JSONRPCURL ]; then
JSONRPCURL="http://10.254.2.2:8332"
fi
# if LND_CONTAINER_NAME doesn't exist then set it
if [ -z $LND_CONTAINER_NAME ]; then
LND_CONTAINER_NAME="lnd"
fi
while true; do
IS_NEUTRINO=`grep -c 'bitcoin.node=neutrino' /lnd/lnd.conf`
if [ $IS_NEUTRINO -eq 1 ]; then

Loading…
Cancel
Save