onionshare/tails/tails-onionshare

13 lines
223 B
Plaintext
Raw Normal View History

#!/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 $@