diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index c106b67c..1321fd23 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -578,7 +578,7 @@ function install_gnusocial_main { gnusocial_ssl='never' fi - MICROBLOG_ONION_HOSTNAME=$(add_onion_service microblog 80 ${MICROBLOG_ONION_PORT}) + MICROBLOG_ONION_HOSTNAME=$(add_onion_service gnusocial 80 ${MICROBLOG_ONION_PORT}) MICROBLOG_SERVER=${MICROBLOG_DOMAIN_NAME} if [[ $ONION_ONLY != 'no' ]]; then diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index c097970d..818d048c 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -360,6 +360,16 @@ function show_domains { echo -n -e "$(pad_string "${app_name}")" echo -n -e "$(pad_string "${icann_address}")" echo "${onion_address}" + + if grep -q "${app_name}_mobile onion domain" $COMPLETION_FILE; then + if grep -q "${app_name}_mobile onion domain" $COMPLETION_FILE; then + onion_address=$(cat ${COMPLETION_FILE} | grep "${app_name}_mobile onion domain" | head -n 1 | awk -F ':' '{print $2}') + fi + + echo -n -e "$(pad_string "${app_name} (mobile)")" + echo -n -e "$(pad_string "${icann_address}")" + echo "${onion_address}" + fi fi done