Skip to content
Snippets Groups Projects
Commit 7204b396 authored by Bob Mottram's avatar Bob Mottram
Browse files

Peers temporary file

parent c31b0297
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment