messages...
This commit is contained in:
parent
e11269b8e1
commit
2f6d30ca38
|
@ -37,7 +37,7 @@ IPFSNODEID=$(ipfs id -f='<id>\n')
|
||||||
|
|
||||||
# Force Strict #swarm0 !!?
|
# Force Strict #swarm0 !!?
|
||||||
# ipfs bootstrap rm --all
|
# ipfs bootstrap rm --all
|
||||||
|
echo "" > /tmp/A_liking_me_NO_ipfstryme.txt
|
||||||
liking_me_count=0
|
liking_me_count=0
|
||||||
friend_of_mine_count=0
|
friend_of_mine_count=0
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -57,19 +57,20 @@ do
|
||||||
ipfs bootstrap add $adresse;
|
ipfs bootstrap add $adresse;
|
||||||
ipfsadd=$((ipfsadd+1))
|
ipfsadd=$((ipfsadd+1))
|
||||||
done;
|
done;
|
||||||
[[ $ipfsadd == 0 ]] && echo "My friend did not sent ipfstryme message..." && echo "$liking_me" >> /tmp/A_liking_me_NO_ipfstryme.txt # && ./jaklis.py send -d $liking_me -t "Gchange IPFS" -m "Rejoins moi sur https://qo-op.com"
|
[[ $ipfsadd == 0 ]] && echo "My friend did not sent ipfstryme message..." && echo "$liking_me" >> /tmp/A_liking_me_NO_ipfstryme.txt
|
||||||
# 4. liking_me IS NOT a friend_of_mine!!
|
# 4. liking_me IS NOT a friend_of_mine!!
|
||||||
[[ $friend_of_mine == null ]] && echo "I am NOT LIKING $liking_me";
|
[[ $friend_of_mine == null ]] && echo "I am NOT LIKING $liking_me";
|
||||||
liking_me_count=$((liking_me_count+1))
|
liking_me_count=$((liking_me_count+1))
|
||||||
done
|
done
|
||||||
cd -
|
|
||||||
|
|
||||||
echo "I have $friend_of_mine_count friends amoung $liking_me_count liking me people
|
echo "I have $friend_of_mine_count friends amoung $liking_me_count liking me people
|
||||||
__________________________________________
|
__________________________________________
|
||||||
HERE IS MY #SWARM0"
|
HERE IS MY #SWARM0"
|
||||||
ipfs swarm peers
|
ipfs swarm peers
|
||||||
|
|
||||||
echo "You could send a message"
|
for line in $(cat /tmp/A_liking_me_NO_ipfstryme.txt | uniq); do
|
||||||
cat /tmp/A_liking_me_NO_ipfstryme.txt | uniq > /tmp/A_UNIQ_liking_me_NO_ipfstryme.txt
|
echo "./jaklis.py send -d $liking_me -t 'Astroport Gchange IPFS' -m 'Rejoins mon #Swarm0 \n https://qo-op.com'"
|
||||||
cp /tmp/A_UNIQ_liking_me_NO_ipfstryme.txt /tmp/A_liking_me_NO_ipfstryme.txt
|
done
|
||||||
cat /tmp/A_liking_me_NO_ipfstryme.txt
|
|
||||||
|
cd -
|
||||||
|
|
Loading…
Reference in New Issue