diff --git a/src/freedombone-utils-onion b/src/freedombone-utils-onion index 1c58c6c6..99c29104 100755 --- a/src/freedombone-utils-onion +++ b/src/freedombone-utils-onion @@ -71,7 +71,7 @@ function wait_for_onion_service { function remove_onion_service { onion_service_name="$1" onion_service_port_to=$2 - sed -i "/stealth ${onion_service_name}/d" /etc/tor/torrc + #sed -i "/stealth ${onion_service_name}/d" /etc/tor/torrc sed -i "/hidden_service_${onion_service_name}/d" /etc/tor/torrc sed -i "/127.0.0.1:${onion_service_port_to}/d" /etc/tor/torrc if [ $3 ]; then @@ -108,7 +108,7 @@ function add_onion_service { if ! grep -q "hidden_service_${onion_service_name}" /etc/tor/torrc; then echo "HiddenServiceDir /var/lib/tor/hidden_service_${onion_service_name}/" >> /etc/tor/torrc echo "HiddenServicePort ${onion_service_port_from} 127.0.0.1:${onion_service_port_to}" >> /etc/tor/torrc - echo "HiddenServiceAuthorizeClient stealth ${onion_service_name}" >> /etc/tor/torrc + #echo "HiddenServiceAuthorizeClient stealth ${onion_service_name}" >> /etc/tor/torrc fi onion_update