From 1a8404e0abd150f06ceac2c2da86d6c32fa2d473 Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@nic.ar>
Date: Mon, 23 Jul 2018 20:07:30 -0300
Subject: [PATCH] Getting super user friend

---
 .gitignore                       | 2 ++
 README.md                        | 4 ++--
 bin/start.sh                     | 7 ++++++-
 doc/compiling-geth-on-debian.md  | 6 +++---
 doc/installing-geth-on-ubuntu.md | 2 +-
 5 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5cce60f..8ab0fc9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
 */lastseen
 */node*
 */status
+cache
+*/cache
diff --git a/README.md b/README.md
index 7c4fa95..75803ee 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@
 12. `verify.sh "I'm doing great today."`
 13. Try the basic `explorer.sh`
 14. consider this crontab: @reboot bfa/network5445/start.sh
-15. Have a look at walker.pl
+15. Try out walker.pl
 
 ## start.sh
 requires: **geth**
@@ -54,4 +54,4 @@ Simple script to look at blocks
 The initial Timestamp service. Could be made better.
 
 ## walker.pl
-requires: **geth**, **perl**
+requires: **geth**, **perl**, __(libjson-perl)__
diff --git a/bin/start.sh b/bin/start.sh
index fe56882..f7631c8 100755
--- a/bin/start.sh
+++ b/bin/start.sh
@@ -45,4 +45,9 @@ bfaconfig max
 	--cache 512		    \
 	--verbosity 3
 ) 2>&1 |
-    ${BFAHOME}/bin/log.sh ${BFANODEDIR}/log
+    ${BFAHOME}/bin/log.sh ${BFANODEDIR}/log &
+if [ -t 1 ]
+then
+    echo Logging everything to ${BFANODEDIR}/log
+    echo Consider running: tail -F ${BFANODEDIR}/log
+fi
diff --git a/doc/compiling-geth-on-debian.md b/doc/compiling-geth-on-debian.md
index 625bb30..f00cb3a 100644
--- a/doc/compiling-geth-on-debian.md
+++ b/doc/compiling-geth-on-debian.md
@@ -3,9 +3,9 @@
 ## Prerequisites
 
 1. `mkdir ~/new ~/bin`
-2. ` cd ~/new`
-3. ` sudo apt install build-essential git`
-4. ` git clone https://github.com/ethereum/go-ethereum`
+2. `cd ~/new`
+3. `sudo apt install build-essential git libjson-perl`
+4. `git clone https://github.com/ethereum/go-ethereum`
 
 ## Compiling Go itself (takes less than 5 minutes)
 
diff --git a/doc/installing-geth-on-ubuntu.md b/doc/installing-geth-on-ubuntu.md
index 96351d6..050ae22 100644
--- a/doc/installing-geth-on-ubuntu.md
+++ b/doc/installing-geth-on-ubuntu.md
@@ -1,5 +1,5 @@
 $ `su`
-# `apt install software-properties-common`
+# `apt install software-properties-common libjson-perl`
 # `add-apt-repository -y ppa:ethereum/ethereum`
 # `apt update`
 # `apt install ethereum`
-- 
GitLab