mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
fix indentation of lnd.conf (#4020)
This commit is contained in:
parent
21d2593b90
commit
ebfb13b55d
@ -315,8 +315,8 @@ if [ "$1" == "prestart" ]; then
|
|||||||
if [ "${sectionExists}" == "0" ]; then
|
if [ "${sectionExists}" == "0" ]; then
|
||||||
echo "# adding section [${sectionName}]"
|
echo "# adding section [${sectionName}]"
|
||||||
echo "
|
echo "
|
||||||
[${sectionName}]
|
[${sectionName}]
|
||||||
" | tee -a ${lndConfFile}
|
" | tee -a ${lndConfFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# get line number of [rpcmiddleware] section
|
# get line number of [rpcmiddleware] section
|
||||||
@ -329,7 +329,7 @@ if [ "$1" == "prestart" ]; then
|
|||||||
if [ ${fileLines} -lt ${insertLine} ]; then
|
if [ ${fileLines} -lt ${insertLine} ]; then
|
||||||
echo "# adding new line for inserts"
|
echo "# adding new line for inserts"
|
||||||
echo "
|
echo "
|
||||||
" | tee -a ${lndConfFile}
|
" | tee -a ${lndConfFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# SET/UPDATE rpcmiddleware.enable
|
# SET/UPDATE rpcmiddleware.enable
|
||||||
|
Loading…
Reference in New Issue
Block a user