the stuff

tor-browser 596B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # Copyright (c) The Tails Developers <https://tails.boum.org>
  3. export TOR_SOCKS_HOST=127.0.0.1
  4. export TOR_SOCKS_PORT=9150
  5. export LD_LIBRARY_PATH=/usr/local/lib/tor-browser
  6. export FONTCONFIG_PATH=/usr/local/lib/tor-browser/TorBrowser/Data/fontconfig
  7. export FONTCONFIG_file=fonts.conf
  8. USER_PROFILE="$HOME/.tor-browser/profile.default"
  9. [ -d "$USER_PROFILE" ] || {
  10. mkdir -p "$HOME"/.tor-browser
  11. cp -r /etc/tor-browser/profile "$USER_PROFILE"
  12. }
  13. cd /usr/local/lib/tor-browser
  14. exec /usr/local/lib/tor-browser/firefox -allow-remote --class "Tor Browser" \
  15. -profile "$USER_PROFILE" "$@"