From c45157fe345740be0d9400de6755c4b6065ece23 Mon Sep 17 00:00:00 2001 From: qo-op Date: Sun, 7 Mar 2021 15:41:27 +0100 Subject: [PATCH] better like that --- ISOconfig.sh | 3 +-- cron_MINUTE.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ISOconfig.sh b/ISOconfig.sh index 70c090f..166af28 100755 --- a/ISOconfig.sh +++ b/ISOconfig.sh @@ -112,8 +112,7 @@ echo "INIT ~/.zen/ipfs/.${IPFSNODEID} INDEX" rm -Rf ~/.zen/ipfs 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 +# Give $XZUID to your (gchange friends) ######################################################################## XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)${RANDOM:0:2}$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs) echo "SETTING GCHANGE+ PROFILE NAME = $XZUID" diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 8c276e5..c9847bc 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -75,7 +75,7 @@ if [[ $(($minute % 15)) == 0 ]]; then sleep $((1 + RANDOM % 120)) git pull ########## OPEN OR CLOSE SSH ACCESS ################# - #[[ "$(ipfs p2p ls | grep $G1PUB-ssh)" == "" ]] && sleep $((1 + RANDOM % 10)) && ~/.zen/astrXbian/zen/ssh_forward2onelove.sh # OPEN-SSH + # [[ "$(ipfs p2p ls | grep $G1PUB-ssh)" == "" ]] && sleep $((1 + RANDOM % 10)) && ~/.zen/astrXbian/zen/ssh_forward2onelove.sh # OPEN-SSH # [[ "$(ipfs p2p ls | grep $G1PUB-ssh)" != "" ]] && sleep $((1 + RANDOM % 10)) && ~/.zen/astrXbian/zen/ssh_forward2onelove.sh # CLOSE-SSH fi