Bob Mottram 8 years ago
parent
commit
3c38b86fd6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-utils-onion

+ 1
- 1
src/freedombone-utils-onion View File

472
     sed -i 's|BridgeRelay.*|BridgeRelay 1|g' /etc/tor/torrc
472
     sed -i 's|BridgeRelay.*|BridgeRelay 1|g' /etc/tor/torrc
473
     sed -i 's|#ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
473
     sed -i 's|#ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
474
     sed -i 's|ServerTransportPlugin.*|ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy|g' /etc/tor/torrc
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
         echo 'ExtORPort auto' >> /etc/tor/torrc
476
         echo 'ExtORPort auto' >> /etc/tor/torrc
477
     else
477
     else
478
         sed -i 's|#ExtORPort auto|ExtORPort auto|g' /etc/tor/torrc
478
         sed -i 's|#ExtORPort auto|ExtORPort auto|g' /etc/tor/torrc