summaryrefslogtreecommitdiff
path: root/contrib/torify.in
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-02-17 04:28:48 +0000
committerRoger Dingledine <arma@torproject.org>2004-02-17 04:28:48 +0000
commitee49ce66b65b82409406b2b46493f6bf54b3eeda (patch)
tree3d84b337eada77057c82acc0e1ba7c47fca80f3b /contrib/torify.in
parentcb34be367fd9722885d02fcaf65338a270478c08 (diff)
downloadtor-ee49ce66b65b82409406b2b46493f6bf54b3eeda.tar.gz
tor-ee49ce66b65b82409406b2b46493f6bf54b3eeda.zip
torify should look in the /etc we configured it to look for
svn:r1079
Diffstat (limited to 'contrib/torify.in')
-rwxr-xr-xcontrib/torify.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/torify.in b/contrib/torify.in
new file mode 100755
index 0000000000..f9162a19fe
--- /dev/null
+++ b/contrib/torify.in
@@ -0,0 +1,7 @@
+#! /bin/sh
+# Wrapper script for use of the tsocks(8) transparent socksification library
+# See the tsocks(1) and torify(1) manpages.
+
+TSOCKS_CONF_FILE=@CONFDIR@/tor-tsocks.conf
+export TSOCKS_CONF_FILE
+exec tsocks "$@"