From d0bd8807b8672482b7870df0ae006427cf2a7229 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Sep 2015 19:48:28 +0100 Subject: [PATCH] Add ipfs peers to the bootstrap list --- src/zeronetavahi | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zeronetavahi b/src/zeronetavahi index 771922f4..b71c59d6 100755 --- a/src/zeronetavahi +++ b/src/zeronetavahi @@ -241,6 +241,7 @@ while IFS='' read -r line || [[ -n "$line" ]]; do if [ ${state} -eq "3" ]; then if [[ $line == *"txt ="* ]]; then ipfs_peer_id=$(echo $line | awk -F '[' '{print $2}' | awk -F ']' '{print $1}') + ipfs add /ip4/${peer}/tcp/${IPFS_PORT}/ipfs/${ipfs_peer_id} echo "
  • ${peer}
  • " >> $IPFS_FILE.new state=0 fi