NOT WORKING

This commit is contained in:
qo-op 2020-12-05 02:10:53 +01:00
parent 1b0e27ac06
commit 319447f332
1 changed files with 7 additions and 2 deletions

View File

@ -8,6 +8,8 @@ MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
ME="${0##*/}" ME="${0##*/}"
## NOT WORKING !!!
exit 1
######################################################################## ########################################################################
# \\/// # \\///
# qo-op # qo-op
@ -66,7 +68,10 @@ do
done; done;
[[ $friend_of_mine != null && $ipfsadd == 0 ]] && echo "No ipfstryme message..." && echo "$liking_me" >> /tmp/A_liking_me_NO_ipfstryme.txt [[ $friend_of_mine != null && $ipfsadd == 0 ]] && echo "No 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" && \
rm -Rf /home/$YOU/.zen/ipfs_swarm/.$id && \
liking_me_count=$((liking_me_count+1)) liking_me_count=$((liking_me_count+1))
done done
@ -85,7 +90,7 @@ do
isMyFriend=$(grep -Rwl "$ssbID" /tmp/ssb-friends.txt) isMyFriend=$(grep -Rwl "$ssbID" /tmp/ssb-friends.txt)
if [[ -f /tmp/ssb-friends.txt && ! $isMyFriend ]]; then if [[ -f /tmp/ssb-friends.txt && ! $isMyFriend ]]; then
echo "WARNING! $count IS NOT my SSB Friend !!! Check $ssbID" echo "WARNING! $count IS NOT my SSB Friend !!! Check $ssbID"
rm -Rf /home/$YOU/.zen/ipfs_swarm/.$id
ipfs swarm disconnect $peer ipfs swarm disconnect $peer
ipfs bootstrap rm $peer ipfs bootstrap rm $peer
## Send sbotc alert message ## Send sbotc alert message