Browse Source

Additional tor settings

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

+ 6
- 0
install-freedombone.sh View File

7053
       echo "DNSListenAddress localhost" >> /etc/tor/torrc
7053
       echo "DNSListenAddress localhost" >> /etc/tor/torrc
7054
   fi
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
   touch /var/log/tor/notices.log
7062
   touch /var/log/tor/notices.log
7057
   chown debian-tor /var/log/tor/notices.log
7063
   chown debian-tor /var/log/tor/notices.log
7058
   chmod 644 /var/log/tor/notices.log
7064
   chmod 644 /var/log/tor/notices.log