From 75dba89a1daf8ee7817a98e17ae9e62e9c17f942 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 16 Mar 2023 22:31:53 +0100 Subject: [PATCH] DEFAULT 2 WORDS SECRETS --- G1BILLETS.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/G1BILLETS.sh b/G1BILLETS.sh index 1541d56..853aa16 100755 --- a/G1BILLETS.sh +++ b/G1BILLETS.sh @@ -23,7 +23,8 @@ if [[ $MONTANT != "daemon" ]]; then STYLE="$2" DICE=$(cat $MY_PATH/DICE 2>/dev/null) ## HOW MANY WORDS SECRETS -[[ $DICE != ?(-)+([0-9]) ]] && DICE=4 +[[ $DICE != ?(-)+([0-9]) ]] && DICE=2 +echo "$DICE WORDS SECRETS (Define length in $MY_PATH/DICE)" ## CHECK IF STYLE IS EMAIL => astro IPFS G1BILLET if [[ "${STYLE}" =~ ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]]; then