disk
This commit is contained in:
parent
8002a8f725
commit
0c2838388f
|
@ -68,7 +68,7 @@ mkfs.vfat -F 32 -n "$bootlbl" -- "$bootfs" >/dev/null
|
||||||
while true; do
|
while true; do
|
||||||
read -r -p 'Do you want your main partition to be encrypted [y/N]? ' luks
|
read -r -p 'Do you want your main partition to be encrypted [y/N]? ' luks
|
||||||
case "$luks" in
|
case "$luks" in
|
||||||
[Yy]*)
|
([Yy]*)
|
||||||
while true; do
|
while true; do
|
||||||
read -r -s -p 'Enter password: ' password
|
read -r -s -p 'Enter password: ' password
|
||||||
printf '\n'
|
printf '\n'
|
||||||
|
@ -85,11 +85,11 @@ while true; do
|
||||||
mainfs=/dev/mapper/$mapping
|
mainfs=/dev/mapper/$mapping
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
'' | [Nn]*)
|
('' | [Nn]*)
|
||||||
mainfs=$mainblkdev
|
mainfs=$mainblkdev
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
*) printf 'Please answer with yes or no\n' 1>&2 ;;
|
(*) printf 'Please answer with yes or no\n' 1>&2 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue