Add rss to control panel

This commit is contained in:
Bob Mottram 2016-02-07 19:17:28 +00:00
parent c1b87af297
commit efcdf72bf6
1 changed files with 10 additions and 0 deletions

View File

@ -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 ''
}