From 3c38b86fd6e1a281084bc9940a9ac193249559bf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 22 Dec 2016 10:42:36 +0000 Subject: [PATCH] no auto --- src/freedombone-utils-onion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-utils-onion b/src/freedombone-utils-onion index 66f98054..e38c27d9 100755 --- a/src/freedombone-utils-onion +++ b/src/freedombone-utils-onion @@ -472,7 +472,7 @@ function tor_create_bridge_relay { sed -i 's|BridgeRelay.*|BridgeRelay 1|g' /etc/tor/torrc sed -i 's|#ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc sed -i 's|ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc - if ! grep "ExtORPort auto" /etc/tor/torrc; then + if ! grep 'ExtORPort ' /etc/tor/torrc; then echo 'ExtORPort auto' >> /etc/tor/torrc else sed -i 's|#ExtORPort auto|ExtORPort auto|g' /etc/tor/torrc