diff --git a/src/zeronetavahi b/src/zeronetavahi index eea9ce4b..95b0d5f1 100755 --- a/src/zeronetavahi +++ b/src/zeronetavahi @@ -73,8 +73,8 @@ ZERONET_FORUM_STR="ZeroNet Forum" ZERONET_ID_STR="ZeroNet ID Service" # contains the output of the avahi command -TEMPFILE_BASE=/tmp/tmpzeronetavahibase.txt -TEMPFILE=/tmp/tmpzeronetavahi.txt +TEMPFILE_BASE=$(mktemp /tmp/zeronetavahibase.XXXXXX) +TEMPFILE=$(mktemp /tmp/zeronetavahi.XXXXXX) function ipfs_bootstrap { cat $TEMPFILE_BASE | grep "IPFS\|hostname =\|address =\|port =\|txt =" > $TEMPFILE