|
@@ -1762,8 +1762,8 @@ image_setup_utils() {
|
1762
|
1762
|
chroot "$rootdir" apt-get -yq -t stretch-backports install tor
|
1763
|
1763
|
chroot "$rootdir" apt-get -yq install connect-proxy
|
1764
|
1764
|
chroot "$rootdir" connect-proxy
|
1765
|
|
- sed -i 's|#Log notice file.*|Log notice file /dev/null|g' "$rootdir/etc/tor/torrc"
|
1766
|
|
- sed -i 's|Log notice file.*|Log notice file /dev/null|g' "$rootdir/etc/tor/torrc"
|
|
1765
|
+ sed -i 's|#Log notice file.*|Log notice file /var/log/tor/notices.log|g' "$rootdir/etc/tor/torrc"
|
|
1766
|
+ sed -i 's|Log notice file.*|Log notice file /var/log/tor/notices.log|g' "$rootdir/etc/tor/torrc"
|
1767
|
1767
|
sed -i "s|#AccountingMax.*|AccountingMax $TOR_MAX_TRAFFIC_PER_MONTH_GB GBytes|g" "$rootdir/etc/tor/torrc"
|
1768
|
1768
|
sed -i "s|AccountingMax.*|AccountingMax $TOR_MAX_TRAFFIC_PER_MONTH_GB GBytes|g" "$rootdir/etc/tor/torrc"
|
1769
|
1769
|
if ! grep -q 'Host *.onion' "$rootdir/root/.ssh/config"; then
|