This commit is contained in:
j 2016-01-05 22:39:41 +05:30
parent b2bfd39397
commit 6459e7975a

3
ctl
View file

@ -11,8 +11,7 @@ BASE=`pwd`
SYSTEM=`uname -s` SYSTEM=`uname -s`
PLATFORM=`uname -m` PLATFORM=`uname -m`
if [ -e $PID ]; then if [ ! -e $PID ]; then
else
if [ -e "$BASE/config/tor/hostname" ]; then if [ -e "$BASE/config/tor/hostname" ]; then
onion=$(cat "$BASE/config/tor/hostname") onion=$(cat "$BASE/config/tor/hostname")
id=${onion/.onion/} id=${onion/.onion/}