From 28d5ae6ca96385814f8f082ed2738dee926d350f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 29 Sep 2016 11:40:04 +0100 Subject: [PATCH] Tox bootstrap --- src/freedombone-app-tox | 1 + src/freedombone-controlpanel | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index fd1183ed..52b5a5cc 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -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 diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 2c26eaa0..99d06e9a 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -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