From a6a8b92ec79e3557ce765e8a957f3506438daa91 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Thu, 6 May 2021 22:45:52 -0500 Subject: [PATCH] Fix bug causing Bitcoin to use too little RAM --- rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh b/rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh index 814427fe..26ce8b04 100755 --- a/rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh +++ b/rootfs/standard/usr/bin/mynode_gen_bitcoin_config.sh @@ -1,6 +1,6 @@ #!/bin/bash -# TOTAL_RAM_GB - Comes from mynode_config.sh since this is only sourced from mynode_startup +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