From 9201f2b5239b2c278ca4f97e51bbf591fcd7cfc1 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 15 Dec 2020 01:33:05 +0100 Subject: [PATCH] ${RANDOM:0:2} --- ISOconfig.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISOconfig.sh b/ISOconfig.sh index 441476881..2a0896f9a 100755 --- a/ISOconfig.sh +++ b/ISOconfig.sh @@ -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