mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 11:13:12 +02:00
Merge pull request #3892 from raspiblitz/lnd-conf-fix
fix indentation of lnd.conf
This commit is contained in:
@@ -315,8 +315,8 @@ if [ "$1" == "prestart" ]; then
|
||||
if [ "${sectionExists}" == "0" ]; then
|
||||
echo "# adding section [${sectionName}]"
|
||||
echo "
|
||||
[${sectionName}]
|
||||
" | tee -a ${lndConfFile}
|
||||
[${sectionName}]
|
||||
" | tee -a ${lndConfFile}
|
||||
fi
|
||||
|
||||
# get line number of [rpcmiddleware] section
|
||||
@@ -329,7 +329,7 @@ if [ "$1" == "prestart" ]; then
|
||||
if [ ${fileLines} -lt ${insertLine} ]; then
|
||||
echo "# adding new line for inserts"
|
||||
echo "
|
||||
" | tee -a ${lndConfFile}
|
||||
" | tee -a ${lndConfFile}
|
||||
fi
|
||||
|
||||
# SET/UPDATE rpcmiddleware.enable
|
||||
|
Reference in New Issue
Block a user