|
@@ -7023,7 +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
|
+ sed -i 's|#Log notice file /var/log/tor/notices.log|Log notice file /var/log/tor/notices.log|g' /etc/tor/torrc
|
7027
|
7027
|
|
7028
|
7028
|
if ! grep -q "VirtualAddrNetworkIPv4" /etc/tor/torrc; then
|
7029
|
7029
|
echo 'VirtualAddrNetworkIPv4 10.192.0.0/10' >> /etc/tor/torrc
|
|
@@ -7057,7 +7057,7 @@ function route_outgoing_traffic_through_tor {
|
7057
|
7057
|
echo "ClientOnly" >> /etc/tor/torrc
|
7058
|
7058
|
fi
|
7059
|
7059
|
|
7060
|
|
- sed -i 's/#RunAsDaemon 1/RunAsDaemon 1/g' >> /etc/tor/torrc
|
|
7060
|
+ sed -i 's/#RunAsDaemon 1/RunAsDaemon 1/g' /etc/tor/torrc
|
7061
|
7061
|
|
7062
|
7062
|
touch /var/log/tor/notices.log
|
7063
|
7063
|
chown debian-tor /var/log/tor/notices.log
|