Peers temporary file

This commit is contained in:
Bob Mottram 2015-08-30 12:09:32 +01:00
parent c31b02978f
commit 7204b396d7
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@
# the freedombone-client script installed
SERVER_INSTALLATION="no"
PEERS_FILE=/tmp/meshwebstart
ZERONET_REPO='https://github.com/bashrc/ZeroNet'
ZERONET_DIR=~/zeronet
ZERONET_URL=http://127.0.0.1:43110
@ -59,6 +61,8 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
ctr=$((ctr + 1))
done < "$PEERS_FILE"
rm $PEERS_FILE
if [ ${ctr} -lt "1" ]; then
echo 'No peers were found'
exit 0