zou
This commit is contained in:
parent
b41efb8551
commit
7074e8ae1c
|
@ -28,7 +28,7 @@ G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
echo "## FRIENDS IPFS PINGing"
|
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) 2>/dev/null; done
|
for g1pub in $(ls -t ~/.zen/ipfs/.$IPFSNODEID/FRIENDS/); do [[ $g1pub ]] && ipfs ping --timeout=7s -n 3 /ipfs/$(~/.zen/astrXbian/zen/tools/g1_to_ipfs.py $g1pub 2>/dev/null) 2>/dev/null; done
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# ACTIVATE TO CONTROL SWARM STATION SAME CODE VERSION
|
# ACTIVATE TO CONTROL SWARM STATION SAME CODE VERSION
|
||||||
|
@ -97,7 +97,7 @@ do
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h5>
|
<h5>
|
||||||
<a href=\"$LOCALTUBELINK\"><span>Lancez la lecture depuis Astroport/KODI de $TITLE </span></a>!
|
<a href=\"$LOCALTUBELINK\"><span>Accelérez le réseau! Lancez la lecture IPFS depuis une Station Astroport</span></a>!
|
||||||
</h5>
|
</h5>
|
||||||
<h6>
|
<h6>
|
||||||
<a href='https://astroport.com'><span>ASTROPORT/KODI</span> × <span> DEMO</span></a>
|
<a href='https://astroport.com'><span>ASTROPORT/KODI</span> × <span> DEMO</span></a>
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
################################################################################
|
||||||
|
echo "## IPFS PINGing MY FRIENDS"
|
||||||
|
for g1pub in $(ls -t ~/.zen/ipfs/.$IPFSNODEID/FRIENDS/); do
|
||||||
|
if [[ $g1pub ]]; then
|
||||||
|
friendipfsnodeid=$(~/.zen/astrXbian/zen/tools/g1_to_ipfs.py $g1pub 2>/dev/null)
|
||||||
|
ipfs ping --timeout=7s -n 3 /ipfs/$friendipfsnodeid 2>/dev/null;
|
||||||
|
[[ $? == 0 ]] && ipfs cat /ipns/$friendipfsnodeid/.$friendipfsnodeid/_xbian.zuid && ipfs cat /ipns/$friendipfsnodeid/.$friendipfsnodeid/G1SSB/_g1.gchange_title
|
||||||
|
echo "###########################################"
|
||||||
|
fi
|
||||||
|
done
|
Loading…
Reference in New Issue