Parcourir la source

Additional tor settings

Bob Mottram il y a 10 ans
Parent
révision
7072822193
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6
    0
      install-freedombone.sh

+ 6
- 0
install-freedombone.sh Voir le fichier

@@ -7053,6 +7053,12 @@ function route_outgoing_traffic_through_tor {
7053 7053
       echo "DNSListenAddress localhost" >> /etc/tor/torrc
7054 7054
   fi
7055 7055
 
7056
+  if ! grep -q "ClientOnly" /etc/tor/torrc; then
7057
+      echo "ClientOnly" >> /etc/tor/torrc
7058
+  fi
7059
+
7060
+  sed -i 's/#RunAsDaemon 1/RunAsDaemon 1/g' >> /etc/tor/torrc
7061
+
7056 7062
   touch /var/log/tor/notices.log
7057 7063
   chown debian-tor /var/log/tor/notices.log
7058 7064
   chmod 644 /var/log/tor/notices.log