diff --git a/src/freedombone-mesh b/src/freedombone-mesh index 191cc0b3..96b73a62 100755 --- a/src/freedombone-mesh +++ b/src/freedombone-mesh @@ -50,6 +50,7 @@ ZERONET_REPO='https://github.com/bashrc/ZeroNet' ZERONET_DIR=~/zeronet ZERONET_DEFAULT=1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F ZERONET_URL=http://127.0.0.1:43110/$ZERONET_DEFAULT +TRACKER_PORT=6969 function install_zeronet { if [ -d $ZERONET_DIR ]; then @@ -385,13 +386,14 @@ if [[ $peer_index == 1 ]]; then fi cd $ZERONET_DIR - if [ ! -d ~/.bttrack ]; then - mkdir ~/.bttrack - fi existing_bttrack=$(ps aux | grep bttrack | wc -l) if [ $existing_bttrack -lt "2" ]; then - bttrack --port $TRACKER_PORT --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full & + if [ ! -d ~/.bttrack ]; then + mkdir ~/.bttrack + fi + echo '***********************************' + bttrack --port ${TRACKER_PORT} --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full & fi zeronetavahi