Fix config script
This commit is contained in:
parent
0addff6c7d
commit
aa49e29bd2
@ -133,8 +133,10 @@ if [[ "$CHOICE" == "y" ]]; then
|
|||||||
while true; do
|
while true; do
|
||||||
echo -n "Enter your luks encryption passphrase: "
|
echo -n "Enter your luks encryption passphrase: "
|
||||||
read -r -s luksPasswd
|
read -r -s luksPasswd
|
||||||
|
echo
|
||||||
echo -n "Confirm your luks encryption passphrase: "
|
echo -n "Confirm your luks encryption passphrase: "
|
||||||
read -r -s confirmLuksPasswd
|
read -r -s confirmLuksPasswd
|
||||||
|
echo
|
||||||
if [[ "$luksPasswd" == "$confirmLuksPasswd" ]]; then
|
if [[ "$luksPasswd" == "$confirmLuksPasswd" ]]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
@ -147,7 +149,7 @@ fi
|
|||||||
# Get username for the main user.
|
# Get username for the main user.
|
||||||
echo -n "Main user name [$defaultName]: "
|
echo -n "Main user name [$defaultName]: "
|
||||||
read -r name
|
read -r name
|
||||||
[[ -z $name ]] && name=$defaultName me
|
[[ -z $name ]] && name=$defaultName
|
||||||
|
|
||||||
# Get description for the main user.
|
# Get description for the main user.
|
||||||
echo -n "Main user description [$defaultDescription]: "
|
echo -n "Main user description [$defaultDescription]: "
|
||||||
|
Loading…
Reference in New Issue
Block a user