read salt & pepper interactive install

This commit is contained in:
qo-op 2021-02-20 16:27:09 +01:00
parent bf280890bb
commit dc2385183f
1 changed files with 3 additions and 0 deletions

View File

@ -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"