diff --git a/rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh b/rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh index 86351b59..f875e1a4 100755 --- a/rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh +++ b/rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh @@ -3,8 +3,10 @@ TOTAL_RAM_GB=$(free --giga | grep Mem | awk '{print $2}') # Setup default settings -if [ ! -f /mnt/hdd/mynode/settings/.btc_lnd_tor_enabled_defaulted ]; then +if [ ! -f /mnt/hdd/mynode/settings/.btc_lnd_tor_enabled_defaulted ] && [ ! -f /home/bitcoin/.mynode/.btc_lnd_tor_enabled_defaulted ]; then + touch /home/bitcoin/.mynode/.btc_lnd_tor_enabled_defaulted touch /mnt/hdd/mynode/settings/.btc_lnd_tor_enabled_defaulted + touch /home/bitcoin/.mynode/btc_lnd_tor_enabled touch /mnt/hdd/mynode/settings/btc_lnd_tor_enabled sync fi