From efcdf72bf61b7c4c7432f17b5018c06a8810ecf4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 7 Feb 2016 19:17:28 +0000 Subject: [PATCH] Add rss to control panel --- src/freedombone-controlpanel | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index a92a97c3..650c9abd 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -334,6 +334,16 @@ function show_domains { fi echo '' fi + if grep -q "RSS reader domain" $COMPLETION_FILE; then + echo -n -e "$(pad_string 'RSS reader')" + #RSSDOM=$(cat ${COMPLETION_FILE} | grep 'RSS reader domain' | awk -F ':' '{print $2}') + RSSDOM='-' + echo -n -e "$(pad_string ${RSSDOM})" + if [ -d /var/lib/tor/hidden_service_ttrss ]; then + echo -n "$(cat /var/lib/tor/hidden_service_ttrss/hostname)" + fi + echo '' + fi echo '' }