diff --git a/install.sh b/install.sh index 5222fa5..3a1db4f 100644 --- a/install.sh +++ b/install.sh @@ -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