No redirections
This commit is contained in:
parent
7072822193
commit
17354d18b0
|
@ -7023,7 +7023,7 @@ function route_outgoing_traffic_through_tor {
|
||||||
if ! grep -q 'Log notice file /var/log/tor/notices.log' /etc/tor/torrc; then
|
if ! grep -q 'Log notice file /var/log/tor/notices.log' /etc/tor/torrc; then
|
||||||
echo 'Log notice file /var/log/tor/notices.log' >> /etc/tor/torrc
|
echo 'Log notice file /var/log/tor/notices.log' >> /etc/tor/torrc
|
||||||
fi
|
fi
|
||||||
sed -i 's|#Log notice file /var/log/tor/notices.log|Log notice file /var/log/tor/notices.log|g' >> /etc/tor/torrc
|
sed -i 's|#Log notice file /var/log/tor/notices.log|Log notice file /var/log/tor/notices.log|g' /etc/tor/torrc
|
||||||
|
|
||||||
if ! grep -q "VirtualAddrNetworkIPv4" /etc/tor/torrc; then
|
if ! grep -q "VirtualAddrNetworkIPv4" /etc/tor/torrc; then
|
||||||
echo 'VirtualAddrNetworkIPv4 10.192.0.0/10' >> /etc/tor/torrc
|
echo 'VirtualAddrNetworkIPv4 10.192.0.0/10' >> /etc/tor/torrc
|
||||||
|
@ -7057,7 +7057,7 @@ function route_outgoing_traffic_through_tor {
|
||||||
echo "ClientOnly" >> /etc/tor/torrc
|
echo "ClientOnly" >> /etc/tor/torrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i 's/#RunAsDaemon 1/RunAsDaemon 1/g' >> /etc/tor/torrc
|
sed -i 's/#RunAsDaemon 1/RunAsDaemon 1/g' /etc/tor/torrc
|
||||||
|
|
||||||
touch /var/log/tor/notices.log
|
touch /var/log/tor/notices.log
|
||||||
chown debian-tor /var/log/tor/notices.log
|
chown debian-tor /var/log/tor/notices.log
|
||||||
|
|
Loading…
Reference in New Issue