|
@@ -243,8 +243,8 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
|
243
|
243
|
if [ ${state} -eq "3" ]; then
|
244
|
244
|
if [[ $line == *"txt ="* ]]; then
|
245
|
245
|
ipfs_peer_id=$(echo $line | awk -F '[' '{print $2}' | awk -F ']' '{print $1}' | awk -F '"' '{print $2}')
|
246
|
|
- ipfs add /ip4/${address}/tcp/${IPFS_PORT}/ipfs/${ipfs_peer_id}
|
247
|
|
- echo " <li><a href=http://localhost:5001/ipfs/${ipfs_peer_id}>${peer}</a></li>" >> $IPFS_FILE.new
|
|
246
|
+ ipfs bootstrap add /ip4/${address}/tcp/${IPFS_PORT}/ipfs/${ipfs_peer_id}
|
|
247
|
+ echo " <li><a href=\"http://localhost:5001/ipfs/${ipfs_peer_id}\">${peer}</a></li>" >> $IPFS_FILE.new
|
248
|
248
|
state=0
|
249
|
249
|
fi
|
250
|
250
|
fi
|