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