fix lnd conf value

This commit is contained in:
rootzoll 2021-08-27 15:02:01 +02:00
parent fc399cff81
commit ad9f9447e2

View file

@ -91,7 +91,7 @@ if [ "$1" == "prestart" ]; then
sudo sed -i "${insertLine}i${network}d.zmqpubrawtx=" ${lndConfFile} sudo sed -i "${insertLine}i${network}d.zmqpubrawtx=" ${lndConfFile}
fi fi
echo "# updating setting (${setting}) with value(${value})" echo "# updating setting (${setting}) with value(${value})"
sudo sed -i "s/^${network}d\.zmqpubrawtx=.*/${network}d\.zmqpubrawtx=\'${value}\'/g" ${lndConfFile} sudo sed -i "s/^${network}d\.zmqpubrawtx=.*/${network}d\.zmqpubrawtx=${value}/g" ${lndConfFile}
# remove RPC user & pass from lnd.conf ... since v1.7 # remove RPC user & pass from lnd.conf ... since v1.7
# https://github.com/rootzoll/raspiblitz/issues/2160 # https://github.com/rootzoll/raspiblitz/issues/2160