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='-'