Skip to content
Snippets Groups Projects
Commit 28d5ae6c authored by Bob Mottram's avatar Bob Mottram
Browse files

Tox bootstrap

parent 3fa84aa4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment