From d90dc2beed1f78e7f1eb27e2d4b8d64379282806 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 26 Mar 2016 12:07:41 +0000 Subject: [PATCH] Include rss reader mobile address on about screen --- src/freedombone-controlpanel | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 5dfb3bf4..e64d8f96 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -368,14 +368,22 @@ function show_domains { echo '' fi if grep -q "RSS reader domain" $COMPLETION_FILE; then - echo -n -e "$(pad_string 'RSS reader')" - RSSDOM='-' - echo -n -e "$(pad_string ${RSSDOM})" if [ -d /var/lib/tor/hidden_service_ttrss ]; then + echo -n -e "$(pad_string 'RSS reader')" + RSSDOM='-' + echo -n -e "$(pad_string ${RSSDOM})" echo -n "$(cat /var/lib/tor/hidden_service_ttrss/hostname)" + echo '' + fi + if [ -d /var/lib/tor/hidden_service_ttrss_mobile ]; then + echo -n -e "$(pad_string 'RSS mobile')" + RSSMOBILEDOM='-' + echo -n -e "$(pad_string ${RSSMOBILEDOM})" + echo -n "$(cat /var/lib/tor/hidden_service_ttrss_mobile/hostname)" + echo '' fi - echo '' fi + if grep -q "Search engine onion domain" $COMPLETION_FILE; then echo -n -e "$(pad_string 'Search engine')" SEARCHDOM='-'