mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 23:09:42 -05:00
13 lines
213 B
Bash
Executable File
13 lines
213 B
Bash
Executable File
#!/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]}" )" && pwd )"
|
|
|
|
export ONIONSHARE_PLATFORM=Tails
|
|
$DIR/onionshare.py $@
|
|
|