Tox bootstrap
This commit is contained in:
parent
3fa84aa428
commit
28d5ae6ca9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue