Update install.sh
This commit is contained in:
parent
7570326786
commit
ace4fed45c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue