Show additional onion domains
This commit is contained in:
parent
e453a38433
commit
ed095283f4
|
@ -153,6 +153,16 @@ function show_domains {
|
|||
echo -n -e "$(pad_string ${DEFAULT_DOMAIN_NAME})"
|
||||
echo "$(cat ${COMPLETION_FILE} | grep 'VoIP onion domain' | awk -F ':' '{print $2}')"
|
||||
fi
|
||||
if grep -q "SIP onion domain" $COMPLETION_FILE; then
|
||||
echo -n -e "$(pad_string 'SIP')"
|
||||
echo -n -e "$(pad_string ${DEFAULT_DOMAIN_NAME})"
|
||||
echo "$(cat ${COMPLETION_FILE} | grep 'SIP onion domain' | awk -F ':' '{print $2}')"
|
||||
fi
|
||||
if grep -q "IRC onion domain" $COMPLETION_FILE; then
|
||||
echo -n -e "$(pad_string 'IRC')"
|
||||
echo -n -e "$(pad_string ${DEFAULT_DOMAIN_NAME})"
|
||||
echo "$(cat ${COMPLETION_FILE} | grep 'IRC onion domain' | awk -F ':' '{print $2}')"
|
||||
fi
|
||||
if grep -q "Wiki domain" $COMPLETION_FILE; then
|
||||
echo -n -e "$(pad_string 'Wiki')"
|
||||
WIKIDOM=$(cat ${COMPLETION_FILE} | grep 'Wiki domain' | awk -F ':' '{print $2}')
|
||||
|
|
Loading…
Reference in New Issue