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