Consolidate lnd config generation

This commit is contained in:
Taylor Helsper 2020-05-13 20:05:04 -05:00
parent f78add0af1
commit 74ebb93d02
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,10 @@
#!/bin/bash
# Setup Initial LND Node Name
if [ ! -f /mnt/hdd/mynode/settings/.lndalias ]; then
echo "mynodebtc.com [myNode]" > /mnt/hdd/mynode/settings/.lndalias
fi
# Generate LND Config
if [ -f /mnt/hdd/mynode/settings/lnd_custom.conf ]; then
# Use Custom Config

View File

@ -194,11 +194,6 @@ do
chmod 600 /mnt/hdd/mynode/settings/.btcrpcpw
done
# Setup LND Node Name
if [ ! -f /mnt/hdd/mynode/settings/.lndalias ]; then
echo "mynodebtc.com [myNode]" > /mnt/hdd/mynode/settings/.lndalias
fi
# Default QuickSync
if [ ! -f /mnt/hdd/mynode/settings/.setquicksyncdefault ]; then
# Default x86 to no QuickSync