mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 04:37:19 +02:00
fix: remove sudo from lnd prestart (#3995)
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user