read salt & pepper interactive install
This commit is contained in:
parent
bf280890bb
commit
dc2385183f
|
@ -48,6 +48,9 @@ salt="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)"
|
||||||
[[ $salt == "" ]] && echo "ERROR" && exit 1
|
[[ $salt == "" ]] && echo "ERROR" && exit 1
|
||||||
pepper="$(~/.zen/astrXbian/zen/tools/diceware.sh 3 | xargs)"
|
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_salt="$salt"
|
||||||
g1_pepper="$pepper"
|
g1_pepper="$pepper"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue