going to control Peering.Peers

This commit is contained in:
fred 2021-09-06 17:25:22 +02:00
parent fd47c1bb82
commit 282359fb67
1 changed files with 1 additions and 0 deletions

View File

@ -206,6 +206,7 @@ done
echo "{ \"Peering\": {\"Peers\": [ $(cat ~/.zen/A_peering_peers.txt | jq -c | sed 's/}/},/g' | sed '$ s/.$//') ] } }" | jq -c > ~/.zen/ipfs/.$IPFSNODEID/.peering.peers.json
jq -c --arg new "$(cat ~/.zen/ipfs/.$IPFSNODEID/.peering.peers.json)" '.Peering.Peers? += [$new]' ~/.ipfs/config
########################################################################
if [[ $DEFCON -eq 3 ]];#########################################################
########################################################################