RUN FROM ./zen/gchange_INIT.sh
This commit is contained in:
parent
56f0ac5e43
commit
a5d21041a1
|
@ -198,7 +198,14 @@ do
|
|||
|
||||
done
|
||||
|
||||
if [[ $DEFCON -eq 3 ]];
|
||||
|
||||
## PUBLISH PEERING.PEERS
|
||||
## Create json format Peering.Peers
|
||||
echo "{ \"Peering\": {\"Peers\": [ $(cat ~/.zen/A_peering_peers.txt | jq -c | sed 's/}/},/g' | sed '$ s/.$//') ] } }" | jq -c > ~/.zen/ipfs/.$IPFSNODEID/.peering.peers.json
|
||||
|
||||
########################################################################
|
||||
if [[ $DEFCON -eq 3 ]];#########################################################
|
||||
########################################################################
|
||||
then ## DEFCON 3
|
||||
# ACTIVATE PRIVATE SMARM !! 1ST BOOTSRAP creates and send a key to every level3 friends he knows (PUB)
|
||||
# RUN ONCE ONLY
|
||||
|
@ -238,6 +245,8 @@ then ## DEFCON 3
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
########################################################################
|
||||
# REFRESH Film Serie Anime Youtube ${PREFIX}ASTRXBIAN index
|
||||
########################################################################
|
||||
|
@ -255,7 +264,7 @@ done
|
|||
# rm ~/.kodi/userdata/addon_data/plugin.video.vstream/astroport_cache.db
|
||||
|
||||
########################################################################
|
||||
## RENEW "BALISE" LIST OF FRIENDS index.html
|
||||
## RENEW LIST OF FRIENDS index.html
|
||||
########################################################################
|
||||
# REFRESH tiddlywiki WALL OF FRIENDS /ipns/${IPFSNODEID}/.${IPFSNODEID}/FRIENDS/index.html
|
||||
########################################################################
|
||||
|
@ -307,7 +316,7 @@ echo "</main></body></html>" >> ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
|
|||
|
||||
|
||||
|
||||
# REFRESH IPNS SELF PUBLISH
|
||||
# IPNS SELF PUBLISH = mise à jour balise Station
|
||||
########################################################################
|
||||
~/.zen/astrXbian/zen/ipns_self_publish.sh
|
||||
########################################################################
|
||||
|
|
|
@ -14,6 +14,7 @@ YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail
|
|||
IPFSNODEID=$(ipfs id -f='<id>\n')
|
||||
G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
|
||||
|
||||
## RUN FROM ./zen/gchange_INIT.sh
|
||||
# This script is called to manage SWARM autoPIN
|
||||
# Actual behaviour is to accept anything from
|
||||
# SOURCE: ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/${PINnode}/.ipfsid.encrypt (new_file_in_astroport.sh)
|
||||
|
|
Loading…
Reference in New Issue