forked from axiom-team/astroport
ipfstryme correction + ipfstrymev6 addition in SSB feed
This commit is contained in:
parent
099b049825
commit
95c7e1d21e
|
@ -63,8 +63,11 @@ mkdir -p ~/.zen/ipfs/.$IPFSNODEID/G1SSB
|
|||
# This SSB messages are read by ./zen/ssb_IPFS_swarm.sh to build your IPFS #Swarm0
|
||||
sbotc publish '{"type":"ipfsnodeid","text":"'"$(ipfs id -f='<id>\n')"'"}'
|
||||
|
||||
# TODO choose address not using LAN address... could happen with "tail -n 1" only logic
|
||||
sbotc publish '{"type":"ipfstryme","text":"'"$(ipfs id | jq -r .Addresses[] | tail -n 1)"'"}'
|
||||
# PUBLISH default "eth" IP addresses for ./zen/ssb_IPFS_swarm.sh
|
||||
trymev4=$(ipfs id | jq -r .Addresses[] | grep $(hostname -I | cut -f 1 -d ' '))
|
||||
trymev6=$(ipfs id | jq -r .Addresses[] | grep $(hostname -I | cut -f 2 -d ' '))
|
||||
[[ $trymev4 ]] && sbotc publish '{"type":"ipfstryme","text":"'"$trymev4"'"}'
|
||||
[[ $trymev6 ]] && sbotc publish '{"type":"ipfstrymev6","text":"'"$trymev6"'"}'
|
||||
|
||||
################################
|
||||
# ADD Cesium+ informations
|
||||
|
|
Loading…
Reference in New Issue