Show search engine domain

This commit is contained in:
Bob Mottram 2016-03-05 18:48:26 +00:00
parent 45e48526dc
commit 8ec2e3b591
1 changed files with 9 additions and 1 deletions

View File

@ -342,7 +342,6 @@ function show_domains {
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
@ -350,6 +349,15 @@ function show_domains {
fi
echo ''
fi
if grep -q "Search engine onion domain" $COMPLETION_FILE; then
echo -n -e "$(pad_string 'Search engine')"
SEARCHDOM='-'
echo -n -e "$(pad_string ${SEARCHDOM})"
if [ -d /var/lib/tor/hidden_service_searx ]; then
echo -n "$(cat /var/lib/tor/hidden_service_searx/hostname)"
fi
echo ''
fi
echo ''
}