Update install.sh

This commit is contained in:
proledatarian 2022-03-28 11:04:15 +00:00
parent 7570326786
commit ace4fed45c
1 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@
# $pwur = user password
# $pwrt = root password
# $pwcr = encryption password
# $pwfr = password first
# $pwsc = password second
# Friendly introduction.
echo "Welcome to the Arch Linux installation script!"
@ -100,7 +102,7 @@ echo
# Setting root password.
echo "Choose a password for the root account:"
while [ -z "$pwr" ]; do
while [ -z "$pwrt" ]; do
echo "Please enter a password: "
read -s pwfr
read -s -p "Retype a password: " pwsc
@ -129,7 +131,7 @@ echo
# Setting user password.
echo "Also please choose a password for your user:"
while [ -z "$pwu" ]; do
while [ -z "$pwur" ]; do
echo "Please enter a password: "
read -s pwfr
read -s -p "Retype a password: " pwsc