#!/bin/bash if [[ $EUID -ne 0 ]]; then echo "You need to run this as root" 1>&2 exit 1 fi DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd ../bin && pwd )" export ONIONSHARE_PLATFORM=Tails $DIR/onionshare $@