BUG in ipfs management. UPGRADE!!
This commit is contained in:
parent
9ec495a09b
commit
de0f4ebfd4
|
@ -42,12 +42,12 @@ You could have run it twice and answer "scuttlebutt" if it is missing.
|
||||||
|
|
||||||
NOTE!! If you already have SSB, IPFS and Silkaj instaled aready, just run
|
NOTE!! If you already have SSB, IPFS and Silkaj instaled aready, just run
|
||||||
```
|
```
|
||||||
$PATH/zen/tools/make_G1SSB_secret.sh
|
./zen/tools/make_G1SSB_secret.sh
|
||||||
$PATH/zen/ssb_IPFS_swarm.sh
|
./zen/ssb_IPFS_swarm.sh
|
||||||
$PATH/zen/cron_VRFY.sh
|
./zen/cron_VRFY.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
it will create your new account with credentials.
|
It will create your new account with credentials.
|
||||||
So you can easily use with gchange.fr and cesium.app
|
So you can easily use with gchange.fr and cesium.app
|
||||||
|
|
||||||
@poka
|
@poka
|
||||||
|
|
|
@ -55,10 +55,10 @@ for SSBFRIEND in $(cat /tmp/ssb-friends.txt); do
|
||||||
TRYME=$(sbotc query.read '{"query":[{"$filter":{"value":{"author": "'"$SSBFRIEND"'", "content":{"type":"ipfstryme"}}}}]}' | jq -r .value?.content?.text | tail -n 1)
|
TRYME=$(sbotc query.read '{"query":[{"$filter":{"value":{"author": "'"$SSBFRIEND"'", "content":{"type":"ipfstryme"}}}}]}' | jq -r .value?.content?.text | tail -n 1)
|
||||||
|
|
||||||
## REMOVE NOTfriends from IPFS swarm
|
## REMOVE NOTfriends from IPFS swarm
|
||||||
[[ $(grep -Rwl "$SSBFRIEND" /tmp/ssb-NOTfriends.txt) ]] && ipfs swarm disconnect $TRYME && ipfs bootstrap rm $TRYME && continue
|
[[ $TRYME ]] && [[ $(grep -Rwl "$SSBFRIEND" /tmp/ssb-NOTfriends.txt) ]] && echo "NOT $TRYME" && ipfs swarm disconnect $TRYME && ipfs bootstrap rm $TRYME && continue
|
||||||
|
|
||||||
## ADD Friend to our IPFS swarm
|
## ADD Friend to our IPFS swarm
|
||||||
[[ $TRYME ]] && ipfs swarm connect $TRYME && ipfs bootstrap add $TRYME
|
[[ $TRYME ]] && echo "Friend $TRYME" && ipfs swarm connect $TRYME && ipfs bootstrap add $TRYME
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue