Show ssh onion domain
This commit is contained in:
parent
56df44afc8
commit
e022c59bea
|
@ -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})"
|
||||||
|
|
Loading…
Reference in New Issue