no auto
This commit is contained in:
parent
2171555adf
commit
3c38b86fd6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue