forked from axiom-team/astrXbian
add EXTERNIP to ipfstryme message
This commit is contained in:
parent
2fa0e7cc19
commit
edbb123fa8
|
@ -113,6 +113,15 @@ do
|
||||||
echo "Sending IPFSTRYME message to $liking_me"
|
echo "Sending IPFSTRYME message to $liking_me"
|
||||||
[[ $friend_of_mine != null ]] && ./jaklis.py send -d $liking_me -t "ipfstryme" -f ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
[[ $friend_of_mine != null ]] && ./jaklis.py send -d $liking_me -t "ipfstryme" -f ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
||||||
done
|
done
|
||||||
|
echo 'SEND ipfstryme to A_boostrap_nodes.txt listed PUBs' # Add your bootstrap Pub here
|
||||||
|
for g1node in $(cat ~/.zen/astrXbian/A_boostrap_nodes.txt | grep -Ev "#") # remove comments
|
||||||
|
do
|
||||||
|
if [[ $g1node != "" ]]; then
|
||||||
|
echo "LIKING my BOOTSTRAP node : $g1node"
|
||||||
|
# ~/.zen/astrXbian/zen/jaklis/jaklis.py -n "https://g1.data.le-sou.org" send -d $g1node -t "ipfstryme" -f ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
||||||
|
~/.zen/astrXbian/zen/jaklis/jaklis.py send -d $g1node -t "ipfstryme" -f ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
||||||
|
fi
|
||||||
|
done
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
# SHOW RESULT
|
# SHOW RESULT
|
||||||
|
|
|
@ -16,7 +16,7 @@ EXTERNIP=$(curl -s http://whatismyip.akamai.com/)
|
||||||
echo "ADD $EXTERNIP to /home/$YOU/.zen/ipfs/.${IPFSNODEID}/tryme.addr"
|
echo "ADD $EXTERNIP to /home/$YOU/.zen/ipfs/.${IPFSNODEID}/tryme.addr"
|
||||||
########################################################################
|
########################################################################
|
||||||
mkdir -p ~/.zen/ipfs/.${IPFSNODEID}
|
mkdir -p ~/.zen/ipfs/.${IPFSNODEID}
|
||||||
echo "/ip4/$EXTERNIP/udp/4001/quic/p2p/${IPFSNODEID}" >> /home/$YOU/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
echo "/ip4/$EXTERNIP/udp/4001/astro/p2p/${IPFSNODEID}" >> /home/$YOU/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
||||||
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue