aboutsummaryrefslogtreecommitdiff
path: root/tor-browser
blob: 446cc28473e4eb618f2665b407ad577fa7e076d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

mkdir -p $HOME/apps/tor-browser/$ARCH/Logs
$HOME/apps/tor-browser/$ARCH/start-tor-browser &> $HOME/apps/tor-browser/$ARCH/Logs/tor-browser.log &