mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
sudo autonat edit
This commit is contained in:
parent
cb8abf6ac3
commit
0e7e2b3a28
@ -32,7 +32,7 @@ if [ ${valueExists} -eq 0 ]; then
|
||||
echo "# Adding autonat config defaults to /mnt/hdd/lnd/lnd.conf"
|
||||
applicationOptionsLineNumber=$(grep -n "\[Application Options\]" /mnt/hdd/lnd/lnd.conf | cut -d ":" -f1)
|
||||
applicationOptionsLineNumber="$(($applicationOptionsLineNumber+1))"
|
||||
sed -i "${applicationOptionsLineNumber}inat=false" /mnt/hdd/lnd/lnd.conf
|
||||
sudo sed -i "${applicationOptionsLineNumber}inat=false" /mnt/hdd/lnd/lnd.conf
|
||||
fi
|
||||
|
||||
# delete nat is still in raspiblitz.conf (its OK when just in lnd.conf since v1.7.2)
|
||||
|
Loading…
Reference in New Issue
Block a user