This commit is contained in:
Lukas Wurzinger 2024-12-14 11:59:14 +01:00
parent 8002a8f725
commit 0c2838388f
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -97,7 +97,7 @@
dosfstools dosfstools
]; ];
text = builtins.readFile ./disk.sh; text = builtins.readFile ./disk.bash;
}; };
}; };
}; };