From dd53e43567fb3be69ab624450dc8d3e73bea8446 Mon Sep 17 00:00:00 2001 From: kenshin-samourai Date: Tue, 22 Sep 2020 21:27:01 +0200 Subject: [PATCH] improve presentation of response returned by dojo.sh onion --- docker/my-dojo/dojo.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docker/my-dojo/dojo.sh b/docker/my-dojo/dojo.sh index acba378..cbe9d52 100755 --- a/docker/my-dojo/dojo.sh +++ b/docker/my-dojo/dojo.sh @@ -338,26 +338,30 @@ upgrade() { # Display the onion address onion() { echo " " - echo "WARNING: Do not share these onion addresses with anyone! To allow another person to use this Dojo with her Samourai Wallet, you should share the QRCodes provided by the Maintenance Tool." + echo "WARNING: Do not share these onion addresses with anyone!" + echo " To allow another person to use this Dojo with her Samourai Wallet," + echo " you should share the QRCodes provided by the Maintenance Tool." echo " " V3_ADDR=$( docker exec -it tor cat /var/lib/tor/hsv3dojo/hostname ) - echo "Dojo API and Maintenance Tool = $V3_ADDR" + echo " * Dojo API and Maintenance Tool = $V3_ADDR" if [ "$EXPLORER_INSTALL" == "on" ]; then V3_ADDR_EXPLORER=$( docker exec -it tor cat /var/lib/tor/hsv3explorer/hostname ) - echo "Block Explorer = $V3_ADDR_EXPLORER" + echo " * Block Explorer = $V3_ADDR_EXPLORER" fi if [ "$WHIRLPOOL_INSTALL" == "on" ]; then V3_ADDR_WHIRLPOOL=$( docker exec -it tor cat /var/lib/tor/hsv3whirlpool/hostname ) - echo "Your personal Whirlpool client running on this Dojo (do not share) = $V3_ADDR_WHIRLPOOL" + echo " * Your personal Whirlpool client running on this Dojo = $V3_ADDR_WHIRLPOOL (do not share)" fi if [ "$BITCOIND_INSTALL" == "on" ]; then V2_ADDR_BTCD=$( docker exec -it tor cat /var/lib/tor/hsv2bitcoind/hostname ) - echo "Your local bitcoind (do not share) = $V2_ADDR_BTCD" + echo " * Your local bitcoind = $V2_ADDR_BTCD (do not share)" fi + + echo " " } # Display the version of this dojo