From 34675fa5c3a6e0d19e442e4dc9e402120bc829e5 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 8 Dec 2020 19:58:24 +0100 Subject: [PATCH] XZUID --- ISOconfig.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ISOconfig.sh b/ISOconfig.sh index 8ff955d..0cc5497 100755 --- a/ISOconfig.sh +++ b/ISOconfig.sh @@ -103,21 +103,21 @@ echo "INIT ~/.zen/ipfs/.${IPFSNODEID}" rm -Rf ~/.zen/ipfs mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/G1SSB ######################################################################## -# Give $(hostname)-$ZUID to your (gchange friends) to add in Vstream Astroport and access your sharings -# IPNS link to "pastebin list" http://localhost:8080/ipns/$IPNSKEY/xbian/$(hostname)-$ZUID +# Give $XZUID to your (gchange friends) to add in Vstream Astroport and access your sharings +# IPNS link to "pastebin list" http://localhost:8080/ipns/$IPNSKEY/xbian/$XZUID ######################################################################## -ZUID=$(~/.zen/astroport/zen/tools/diceware.sh 1 | xargs)$(hostname -I | cut -d ' ' -f 1 | cut -d "." -f 4 ) -echo "CREATE ~/.zen/ipfs/xbian/$(hostname)-$ZUID" -touch ~/.zen/ipfs/xbian/$(hostname)-$ZUID +XZUID=$(~/.zen/astroport/zen/tools/diceware.sh 1 | xargs)-$(~/.zen/astroport/zen/tools/diceware.sh 1 | xargs)$(hostname -I | cut -d ' ' -f 1 | cut -d "." -f 4 ) +echo "CREATE ~/.zen/ipfs/xbian/$XZUID" +touch ~/.zen/ipfs/xbian/$XZUID # https://github.com/Kodi-vStream/venom-xbmc-addons/wiki/Voir-et-partager-sa-biblioth%C3%A8que-priv%C3%A9e#d%C3%A9clarer-des-films -echo "$(hostname)-$ZUID" > ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid +echo "$XZUID" > ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid ######################################################################## ######################################################################## echo "CREATE gchange+ profile" ######################################################################## cd ~/.zen/astroport/zen/jaklis -./jaklis.py set --name "$(hostname)-$ZUID" --avatar "$HOME/.zen/astroport/logo.png" +./jaklis.py set --name "$XZUID" --avatar "$HOME/.zen/astroport/logo.png" ######################################################################## ######################################################################## @@ -143,7 +143,7 @@ echo "Configure .kodi/addons/plugin.video.vstream/resources/sites/astroport.py" cp -f ~/.zen/astroport/.install/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py \ ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py -# CREATE xbian IPNSKEY used to publish ~/.zen/ipfs_swarm/xbian (contains all xbian-ZUID pastebin files) +# CREATE xbian IPNSKEY used to publish ~/.zen/ipfs_swarm/xbian (contains all XZUID pastebin files) ipfs key rm xbian IPNSKEY=$(ipfs key gen xbian) sed -i s/_IPNSKEY_/$IPNSKEY/g ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py