From 7072822193145d52b60ff7bb1cde17ef509a7d03 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 28 Dec 2014 18:40:12 +0000 Subject: [PATCH] Additional tor settings --- install-freedombone.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index c353809e..1f1a1646 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -7053,6 +7053,12 @@ function route_outgoing_traffic_through_tor { echo "DNSListenAddress localhost" >> /etc/tor/torrc fi + if ! grep -q "ClientOnly" /etc/tor/torrc; then + echo "ClientOnly" >> /etc/tor/torrc + fi + + sed -i 's/#RunAsDaemon 1/RunAsDaemon 1/g' >> /etc/tor/torrc + touch /var/log/tor/notices.log chown debian-tor /var/log/tor/notices.log chmod 644 /var/log/tor/notices.log