|
@@ -472,7 +472,7 @@ function tor_create_bridge_relay {
|
472
|
472
|
sed -i 's|BridgeRelay.*|BridgeRelay 1|g' /etc/tor/torrc
|
473
|
473
|
sed -i 's|#ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
|
474
|
474
|
sed -i 's|ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
|
475
|
|
- if ! grep "ExtORPort auto" /etc/tor/torrc; then
|
|
475
|
+ if ! grep 'ExtORPort ' /etc/tor/torrc; then
|
476
|
476
|
echo 'ExtORPort auto' >> /etc/tor/torrc
|
477
|
477
|
else
|
478
|
478
|
sed -i 's|#ExtORPort auto|ExtORPort auto|g' /etc/tor/torrc
|