Tox bootstrap

This commit is contained in:
Bob Mottram 2016-09-29 11:40:04 +01:00
parent 3fa84aa428
commit 28d5ae6ca9
2 changed files with 2 additions and 1 deletions

View File

@ -308,6 +308,7 @@ function install_tox_node {
function_check mesh_tox_node
mesh_tox_node
# onion address for bootstrapping
TOX_ONION_HOSTNAME=$(add_onion_service tox ${TOX_PORT} ${TOX_PORT})
if ! grep -q "tox onion domain" $COMPLETION_FILE; then

View File

@ -337,7 +337,7 @@ function show_domains {
echo "$(cat ${COMPLETION_FILE} | grep 'IRC onion domain' | awk -F ':' '{print $2}')"
fi
if grep -q "tox onion domain" $COMPLETION_FILE; then
echo -n -e "$(pad_string 'Tox')"
echo -n -e "$(pad_string 'Tox Bootstrap')"
echo -n -e "$(pad_string ${DEFAULT_DOMAIN_NAME})"
echo "$(cat ${COMPLETION_FILE} | grep 'tox onion domain' | awk -F ':' '{print $2}')"
fi