Show sks keyserver onion address on about screen

This commit is contained in:
Bob Mottram 2017-07-28 23:03:31 +01:00
parent dfe18fb802
commit 3a75c54d24
1 changed files with 6 additions and 0 deletions

View File

@ -351,6 +351,12 @@ function show_domains {
echo -n -e "$(pad_string ${DEFAULT_DOMAIN_NAME})"
echo "$(cat ${COMPLETION_FILE} | grep 'email onion domain' | awk -F ':' '{print $2}')"
fi
if grep -q "sks onion domain" $COMPLETION_FILE; then
read_config_param "KEYSERVER_DOMAIN_NAME"
echo -n -e "$(pad_string 'SKS')"
echo -n -e "$(pad_string ${KEYSERVER_DOMAIN_NAME})"
echo "$(cat ${COMPLETION_FILE} | grep 'sks onion domain' | awk -F ':' '{print $2}')"
fi
for app_name in "${APPS_INSTALLED_NAMES[@]}"
do