summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2011-10-19 13:31:43 +0200
committerTails developers <amnesia@boum.org>2011-10-19 13:31:43 +0200
commit0df3d4361992acbcd3db67207c7ac05a0af34d85 (patch)
treef099bc86b5922bf7ae324fdae4543bf3e6bc1c13
parentea99653f8b2251d78455407ce3250b9839183987 (diff)
Set environment variables needed by Torbutton "New identity" feature.
-rw-r--r--config/chroot_local-includes/etc/environment5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/chroot_local-includes/etc/environment b/config/chroot_local-includes/etc/environment
index 75d1bc2..3ea1f6b 100644
--- a/config/chroot_local-includes/etc/environment
+++ b/config/chroot_local-includes/etc/environment
@@ -2,3 +2,8 @@ http_proxy=http://127.0.0.1:8118
HTTP_PROXY=http://127.0.0.1:8118
SOCKS_SERVER=127.0.0.1:9050
SOCKS5_SERVER=127.0.0.1:9050
+
+# Torbutton "New identity" feature uses those environment variables
+TOR_CONTROL_COOKIE_AUTH_FILE='/var/run/tor/control.authcookie'
+TOR_CONTROL_HOST='127.0.0.1'
+TOR_CONTROL_PORT='9051'