Browse Source

Tor logging

Bob Mottram 10 years ago
parent
commit
9706a46a6a
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      install-freedombone.sh

+ 1
- 0
install-freedombone.sh View File

@@ -7023,6 +7023,7 @@ function route_outgoing_traffic_through_tor {
7023 7023
   if ! grep -q 'Log notice file /var/log/tor/notices.log' /etc/tor/torrc; then
7024 7024
       echo 'Log notice file /var/log/tor/notices.log' >> /etc/tor/torrc
7025 7025
   fi
7026
+  sed -i 's|#Log notice file /var/log/tor/notices.log|Log notice file /var/log/tor/notices.log|g' >> /etc/tor/torrc
7026 7027
 
7027 7028
   if ! grep -q "VirtualAddrNetworkIPv4" /etc/tor/torrc; then
7028 7029
       echo 'VirtualAddrNetworkIPv4 10.192.0.0/10' >> /etc/tor/torrc