diff --git a/ctl b/ctl index 4ef1930..94e5eec 100755 --- a/ctl +++ b/ctl @@ -11,11 +11,14 @@ BASE=`pwd` SYSTEM=`uname -s` PLATFORM=`uname -m` +if [ -e $PID ]; then +else if [ -e "$BASE/config/tor/hostname" ]; then onion=$(cat "$BASE/config/tor/hostname") id=${onion/.onion/} PID="/tmp/$NAME.$USER.$id.pid" fi +fi if [ -e "$BASE/local_platform" ]; then export PLATFORM_ENV="$BASE/local_platform"