diff --git a/configure-box.sh b/configure-box.sh index 9990822..ac47d0a 100755 --- a/configure-box.sh +++ b/configure-box.sh @@ -76,6 +76,8 @@ docker-compose pull echo "Adding tor password" SAVE_PASSWORD=`docker run -it getumbrel/tor:v0.4.1.9 --quiet --hash-password "${RPCPASS}"` +# Add a new line first +echo >> tor/torrc echo "HashedControlPassword ${SAVE_PASSWORD}" >> tor/torrc echo "Adding Tor password to bitcoind"