Browse Source
Remove Tor container after generating hashed password (#60)
partition-refactor
Mayank Chhabra
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
configure-box.sh
|
@ -91,7 +91,7 @@ echo "Pulling Docker images" |
|
|
docker-compose pull |
|
|
docker-compose pull |
|
|
|
|
|
|
|
|
echo "Adding tor password" |
|
|
echo "Adding tor password" |
|
|
SAVE_PASSWORD=`docker run getumbrel/tor:v0.4.1.9 --quiet --hash-password "${RPCPASS}"` |
|
|
SAVE_PASSWORD=$(docker run --rm getumbrel/tor:v0.4.1.9 --quiet --hash-password "${RPCPASS}") |
|
|
# Add a new line first |
|
|
# Add a new line first |
|
|
echo >> tor/torrc |
|
|
echo >> tor/torrc |
|
|
echo "HashedControlPassword ${SAVE_PASSWORD}" >> tor/torrc |
|
|
echo "HashedControlPassword ${SAVE_PASSWORD}" >> tor/torrc |
|
|