${RANDOM:0:2}

This commit is contained in:
qo-op 2020-12-15 01:33:05 +01:00
parent 58768092a5
commit 9201f2b523
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/G1SSB
# Give $XZUID to your (gchange friends) to add in Vstream Astroport and access your sharings
# IPNS link to "pastebin list" http://localhost:8181/ipns/$IPNSKEY/xbian/$XZUID
########################################################################
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)$(hostname -I | cut -d ' ' -f 1 | cut -d "." -f 4)$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)${RANDOM:0:2}$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)
echo "CREATE ~/.zen/ipfs/xbian/$XZUID"
mkdir -p ~/.zen/ipfs/xbian
touch ~/.zen/ipfs/xbian/$XZUID