Browse Source

Add newline before adding hashed Tor password

patch-1
Mayank 5 years ago
parent
commit
8d600fb491
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 2
      configure-box.sh

2
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"

Loading…
Cancel
Save