Browse Source

Mise à jour de 'zen/ipfs_SWARM_refresh.sh'

master
qo-op 2 weeks ago
parent
commit
376dcb7125
  1. 2
      zen/ipfs_SWARM_refresh.sh

2
zen/ipfs_SWARM_refresh.sh

@ -61,7 +61,7 @@ rm ~/.zen/A_peering_peers.txt
cp ~/.ipfs/config ~/.ipfs/config.new ## Prepare Peering.Peers changes
# for ipfsnodeid in $( (cat /tmp/ipfs_swarm_peers | grep -o '[^/]*$' && cat /tmp/A_swarm | grep -o '[^/]*$' ) | sort | uniq); ## TODO ACTIVATE IN DEFCON 4
for ipfsnodeid in $(cat ~/.zen/ipfs_swarm/.*/tryme.addr | grep -o '[^/]*$' | sort | uniq);
for ipfsnodeid in $(cat ~/.zen/ipfs/.$IPFSNODEID/FRIENDS/*/tryme.addr | grep -o '[^/]*$' | sort | uniq);
do
## $ipfsnodeid already Treated ?
[[ "$ipfsnodeid" == "$IPFSNODEID" ]] && continue

Loading…
Cancel
Save