Skip to content
Snippets Groups Projects
Commit e022c59b authored by Bob Mottram's avatar Bob Mottram
Browse files

Show ssh onion domain

parent 56df44af
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,11 @@ function show_domains { ...@@ -129,6 +129,11 @@ function show_domains {
echo -n -e "$(pad_string 'Tor')" echo -n -e "$(pad_string 'Tor')"
echo '' echo ''
echo '--------------------------------------------------------------------------' echo '--------------------------------------------------------------------------'
if grep -q "ssh onion domain" $COMPLETION_FILE; then
echo -n -e "$(pad_string 'ssh')"
echo -n -e "$(pad_string ${DEFAULT_DOMAIN_NAME})"
echo "$(cat ${COMPLETION_FILE} | grep 'ssh onion domain' | awk -F ':' '{print $2}')"
fi
if grep -q "Email onion domain" $COMPLETION_FILE; then if grep -q "Email onion domain" $COMPLETION_FILE; then
echo -n -e "$(pad_string 'Email')" echo -n -e "$(pad_string 'Email')"
echo -n -e "$(pad_string ${DEFAULT_DOMAIN_NAME})" echo -n -e "$(pad_string ${DEFAULT_DOMAIN_NAME})"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment