|
|
|
|
358
|
bttrack --port ${TRACKER_PORT} --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full --ipv6_enabled 0 &
|
358
|
bttrack --port ${TRACKER_PORT} --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full --ipv6_enabled 0 &
|
359
|
fi
|
359
|
fi
|
360
|
|
360
|
|
|
|
361
|
+existing_ipfs=$(ps aux | grep ipfs | wc -l)
|
|
|
362
|
+if [ $existing_ipfs -lt "2" ]; then
|
|
|
363
|
+ ipfs daemon --mount
|
|
|
364
|
+fi
|
|
|
365
|
+
|
361
|
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
|
366
|
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
|
362
|
|
367
|
|
363
|
cp /etc/crontab /tmp/crontab
|
368
|
cp /etc/crontab /tmp/crontab
|