aboutsummaryrefslogtreecommitdiff
path: root/tor-browser
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 16:38:23 -0300
committerSilvio Rhatto <user@example.org>2014-09-18 16:38:23 -0300
commitf6caa88cbfc8f501fcc6789aa7cf3284aeafe540 (patch)
tree6db812468273f655b7e700a40f35548e56673492 /tor-browser
downloadutils-tor-f6caa88cbfc8f501fcc6789aa7cf3284aeafe540.tar.gz
utils-tor-f6caa88cbfc8f501fcc6789aa7cf3284aeafe540.tar.bz2
Initial import
Diffstat (limited to 'tor-browser')
-rwxr-xr-xtor-browser16
1 files changed, 16 insertions, 0 deletions
diff --git a/tor-browser b/tor-browser
new file mode 100755
index 0000000..0267d2b
--- /dev/null
+++ b/tor-browser
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Wrapper for the Tor Software Bundle
+#
+
+ARCH="`uname -m`"
+
+if [ "$ARCH" == "i386" ]; then
+ ARCH="linux32"
+elif [ "$ARCH" == "i686" ]; then
+ ARCH="linux32"
+elif [ "$ARCH" == "x86_64" ]; then
+ ARCH="linux64"
+fi
+
+$HOME/apps/tor-browser/$ARCH/start-tor-browser &> $HOME/apps/tor-browser/$ARCH/Data/Browser/tor-browser.log &