|
|
|
|
73
|
ZERONET_ID_STR="ZeroNet ID Service"
|
73
|
ZERONET_ID_STR="ZeroNet ID Service"
|
74
|
|
74
|
|
75
|
# contains the output of the avahi command
|
75
|
# contains the output of the avahi command
|
76
|
-TEMPFILE_BASE=/tmp/tmpzeronetavahibase.txt
|
|
|
77
|
-TEMPFILE=/tmp/tmpzeronetavahi.txt
|
|
|
|
|
76
|
+TEMPFILE_BASE=$(mktemp /tmp/zeronetavahibase.XXXXXX)
|
|
|
77
|
+TEMPFILE=$(mktemp /tmp/zeronetavahi.XXXXXX)
|
78
|
|
78
|
|
79
|
function ipfs_bootstrap {
|
79
|
function ipfs_bootstrap {
|
80
|
cat $TEMPFILE_BASE | grep "IPFS\|hostname =\|address =\|port =\|txt =" > $TEMPFILE
|
80
|
cat $TEMPFILE_BASE | grep "IPFS\|hostname =\|address =\|port =\|txt =" > $TEMPFILE
|