Temporary files

This commit is contained in:
Bob Mottram 2016-07-20 19:13:16 +01:00
parent ad9bf8cb8e
commit 2d0aeffc0f
1 changed files with 2 additions and 2 deletions

View File

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