Run ipfs daemon on mesh client
This commit is contained in:
parent
fcd28f5050
commit
35db1c66ff
|
@ -358,6 +358,11 @@ if [ $existing_bttrack -lt "2" ]; then
|
|||
bttrack --port ${TRACKER_PORT} --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full --ipv6_enabled 0 &
|
||||
fi
|
||||
|
||||
existing_ipfs=$(ps aux | grep ipfs | wc -l)
|
||||
if [ $existing_ipfs -lt "2" ]; then
|
||||
ipfs daemon --mount
|
||||
fi
|
||||
|
||||
ZERONET_INDEX=/home/$MY_USERNAME/mesh.html
|
||||
|
||||
cp /etc/crontab /tmp/crontab
|
||||
|
|
Loading…
Reference in New Issue