mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
fix: remove sudo from lnd prestart (#3995)
This commit is contained in:
parent
68678e243d
commit
50fbeb0168
1 changed files with 2 additions and 2 deletions
|
@ -333,8 +333,8 @@ if [ "$1" == "prestart" ]; then
|
|||
fi
|
||||
|
||||
# remove erroneous entries
|
||||
sudo sed -i '/^ \[rpcmiddleware\]/d' ${lndConfFile}
|
||||
sudo sed -i '/^ \[\[Rr\]pcmiddleware\]/d' ${lndConfFile}
|
||||
sed -i '/^ \[rpcmiddleware\]/d' ${lndConfFile}
|
||||
sed -i '/^ \[\[Rr\]pcmiddleware\]/d' ${lndConfFile}
|
||||
|
||||
# SET/UPDATE rpcmiddleware.enable
|
||||
setting ${lndConfFile} ${insertLine} "rpcmiddleware.enable" "true"
|
||||
|
|
Loading…
Add table
Reference in a new issue