PINGing FRIENDS

This commit is contained in:
qo-op 2021-06-16 00:37:09 +02:00
parent 940e558851
commit 1121a39ee0
1 changed files with 7 additions and 2 deletions

View File

@ -27,6 +27,9 @@ IPFSNODEID=$(ipfs --timeout=5s id -f='<id>\n')
G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
########################################################################
echo "## FRIENDS IPFS PINGing"
for g1pub in $(ls -t ~/.zen/ipfs/.$IPFSNODEID/FRIENDS/); do [[ $g1pub ]] && ipfs ping --timeout=7s -n 5 /ipfs/$(~/.zen/astrXbian/zen/tools/g1_to_ipfs.py $g1pub 2>/dev/null); done
########################################################################
# ACTIVATE TO CONTROL SWARM STATION SAME CODE VERSION
########################################################################
@ -105,7 +108,7 @@ Apprenez à programmer le BLOB et ajoutez de nouveaux services au Datacenter Vir
<head>
<title>AstroCrowdBuster</title>
<meta charset=\"UTF-8\">
<link rel='stylesheet' href='crowdbunker.css' type='text/css' />
<link rel='stylesheet' href='/crowdbunker.css' type='text/css' />
<link rel='icon' type='image/png' href='/astrocrowdbunker.png' />
</head>
<body>
@ -120,7 +123,9 @@ Apprenez à programmer le BLOB et ajoutez de nouveaux services au Datacenter Vir
<h1 class='video-title'>$TITLE</h1>
</article>
</main>
<center><br>Faites un don pour connserver la MEDIAKEY (${id}) en ligne<br>
<center><br>Ce fichier possède un G1 portefeuille qui lui permet de payer son hébergement ( 0.5 G1 /bootstrap / jour ).
<br>Faire un don permet de conserver le fichier (${id}) en ligne mais aussi de récompenser son Auteur!<br>
<br>
<br><img width=40 src=\"https://tube.copylaradio.com/ipns/$IPNSLINK/QR.png\"></center>
</body>
</html>" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${id}/${G1PUB}/index.html