mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 15:10:38 +01:00
remove old file
This commit is contained in:
parent
bd99db7a28
commit
ad55965fd6
1 changed files with 0 additions and 11 deletions
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: ON BASIC BITCOIN CONFIG
|
|
||||||
###### OPTIMIZE IF RAM >1GB
|
|
||||||
kbSizeRAM=$(cat /proc/meminfo | grep "MemTotal" | sed 's/[^0-9]*//g')
|
|
||||||
if [ ${kbSizeRAM} -gt 1500000 ]; then
|
|
||||||
echo "Detected RAM >1GB --> optimizing ${network}.conf"
|
|
||||||
sudo sed -i "s/^dbcache=.*/dbcache=512/g" /home/admin/assets/bitcoin.conf
|
|
||||||
sudo sed -i "s/^maxmempool=.*/maxmempool=300/g" /home/admin/assets/bitcoin.conf
|
|
||||||
fi
|
|
Loading…
Add table
Reference in a new issue