fix section input

This commit is contained in:
rootzoll 2021-08-27 15:03:55 +02:00
parent ad9f9447e2
commit 6ad3f2e923

View File

@ -72,7 +72,8 @@ if [ "$1" == "prestart" ]; then
echo "# sectionExists(${sectionExists})"
if [ "${sectionExists}" == "0" ]; then
echo "# adding section [${network}d]"
echo "\n[${network}d]" | sudo tee -a ${lndConfFile}
echo "
[${network}d]" | sudo tee -a ${lndConfFile}
fi
# get line number of [bitcoind] section