From dc2385183fd89c6cb7f42012fd770fd9859721ec Mon Sep 17 00:00:00 2001 From: qo-op Date: Sat, 20 Feb 2021 16:27:09 +0100 Subject: [PATCH] read salt & pepper interactive install --- ISOconfig.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ISOconfig.sh b/ISOconfig.sh index e8bcb2e..d249a8b 100755 --- a/ISOconfig.sh +++ b/ISOconfig.sh @@ -48,6 +48,9 @@ salt="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)" [[ $salt == "" ]] && echo "ERROR" && exit 1 pepper="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)" +[[ "$USER" != "xbian" ]] && echo "Choisir identifiant? $salt" && read salty && [[ $salty ]] && salt="$salty" +[[ "$USER" != "xbian" ]] && echo "Choisir mot de passe? $pepper" && read peppery && [[ $peppery ]] && pepper="$peppery" + g1_salt="$salt" g1_pepper="$pepper"