Skip to content
Snippets Groups Projects
Commit 6e6f2a19 authored by Bob Mottram's avatar Bob Mottram
Browse files

Exclude comments

parent b6bf112e
No related branches found
No related tags found
No related merge requests found
......@@ -752,12 +752,13 @@ function store_passwords {
}
function show_tor_bridges {
if ! grep "Bridge " /etc/tor/torrc; then
bridges_list=$(grep "Bridge " /etc/tor/torrc | grep -v '##')
if [ ${#bridges_list} -eq 0 ]; then
echo $'No Tor bridges have been added'
return
fi
clear
grep "Bridge " /etc/tor/torrc
echo "${bridges_list}"
}
function add_tor_bridge {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment