Handle mobile addresses
This commit is contained in:
parent
b43bdd662b
commit
ac8fafe652
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue