Blind test
This commit is contained in:
parent
0aa69778fb
commit
9ce0294d14
@ -25,14 +25,7 @@ read -p "Do you wish to set a home partition? " yesno
|
|||||||
case $yesno in
|
case $yesno in
|
||||||
[yesYesYy]* )
|
[yesYesYy]* )
|
||||||
read -p 'Please enter the drive value for the home partition: ' homepar
|
read -p 'Please enter the drive value for the home partition: ' homepar
|
||||||
;;
|
# Ask if a home partition should be wiped
|
||||||
[noNoNn]* )
|
|
||||||
echo "A home partition will not be used in this installation"
|
|
||||||
;;
|
|
||||||
* ) echo "Please answer yes (Yes, y, Y) or no (No, n, N)";;
|
|
||||||
esac
|
|
||||||
# Ask if a home partition should be wiped
|
|
||||||
if test -z "$homepar"; then
|
|
||||||
read -p 'Do you wish to wipe the home partition? ' wipeyesno
|
read -p 'Do you wish to wipe the home partition? ' wipeyesno
|
||||||
case $wipeyesno in
|
case $wipeyesno in
|
||||||
[yesYesYy]* )
|
[yesYesYy]* )
|
||||||
@ -43,7 +36,12 @@ if test -z "$homepar"; then
|
|||||||
;;
|
;;
|
||||||
* ) echo "Please answer yes (Yes, y, Y) or no (No, n, N)";;
|
* ) echo "Please answer yes (Yes, y, Y) or no (No, n, N)";;
|
||||||
esac
|
esac
|
||||||
fi
|
;;
|
||||||
|
[noNoNn]* )
|
||||||
|
echo "A home partition will not be used in this installation"
|
||||||
|
;;
|
||||||
|
* ) echo "Please answer yes (Yes, y, Y) or no (No, n, N)";;
|
||||||
|
esac
|
||||||
# Get user credentials
|
# Get user credentials
|
||||||
read -p "Please enter a username " username
|
read -p "Please enter a username " username
|
||||||
read -rsp "Please enter a password " password
|
read -rsp "Please enter a password " password
|
||||||
|
Loading…
Reference in New Issue
Block a user