better like that

This commit is contained in:
qo-op 2021-03-07 15:41:27 +01:00
parent dfc9b8e45a
commit c45157fe34
2 changed files with 2 additions and 3 deletions

View File

@ -112,8 +112,7 @@ echo "INIT ~/.zen/ipfs/.${IPFSNODEID} INDEX"
rm -Rf ~/.zen/ipfs rm -Rf ~/.zen/ipfs
mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/G1SSB mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/G1SSB
######################################################################## ########################################################################
# Give $XZUID to your (gchange friends) to add in Vstream Astroport and access your sharings # Give $XZUID to your (gchange friends)
# IPNS link to "pastebin list" http://localhost:8181/ipns/$IPNSKEY/xbian/$XZUID
######################################################################## ########################################################################
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)${RANDOM:0:2}$(~/.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 "SETTING GCHANGE+ PROFILE NAME = $XZUID" echo "SETTING GCHANGE+ PROFILE NAME = $XZUID"

View File

@ -75,7 +75,7 @@ if [[ $(($minute % 15)) == 0 ]]; then
sleep $((1 + RANDOM % 120)) sleep $((1 + RANDOM % 120))
git pull git pull
########## OPEN OR CLOSE SSH ACCESS ################# ########## 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 # [[ "$(ipfs p2p ls | grep $G1PUB-ssh)" != "" ]] && sleep $((1 + RANDOM % 10)) && ~/.zen/astrXbian/zen/ssh_forward2onelove.sh # CLOSE-SSH
fi fi