From da411c58b5a046699c8d3242181a59801b68daa0 Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@nic.ar>
Date: Fri, 27 Jul 2018 11:48:09 -0300
Subject: [PATCH] limiting screen spam

---
 bin/libbfa.sh | 2 +-
 bin/start.sh  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/libbfa.sh b/bin/libbfa.sh
index b8f9ea2..0946dd0 100644
--- a/bin/libbfa.sh
+++ b/bin/libbfa.sh
@@ -35,7 +35,7 @@ function    cleanup
 function    geth_attach
 {
     bfaconfig node
-    geth    --cache 256 "$@" attach ipc:${BFANODEDIR}/geth.ipc
+    geth    --cache 0 "$@" attach ipc:${BFANODEDIR}/geth.ipc
 }
 
 function    geth_exec_js
diff --git a/bin/start.sh b/bin/start.sh
index d80101c..1fd7c88 100755
--- a/bin/start.sh
+++ b/bin/start.sh
@@ -54,11 +54,11 @@ function miner
         echo
         echo '***'
         echo
+	flexargs="$( accountlist) $( miner )"
         set -x
         geth			            \
 	    --datadir ${BFANODEDIR}	    \
-	    $( accountlist )	            \
-	    $( miner )		            \
+	    ${flexargs}			    \
 	    --networkid $BFANETWORKID       \
 	    --bootnodes "${bootnodes}"      \
 	    --rpc			    \
@@ -80,4 +80,4 @@ function miner
         wait
         sleep 60
     done 2>&1 | ${BFAHOME}/bin/log.sh ${BFANODEDIR}/log &
-) 9>> ${$BFANODEDIR}/geth.pid
+) 9>> ${BFANODEDIR}/geth.pid
-- 
GitLab