From ed095283f4e5ebb44b5f9f110933ba1fb71acdca Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 6 Jan 2016 14:26:14 +0000 Subject: [PATCH] Show additional onion domains --- src/freedombone-controlpanel | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 0a83044a..236bee4d 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -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}')