Update install.sh

This commit is contained in:
proledatarian 2022-03-03 10:27:29 +00:00
parent 5e04e2f96f
commit 15cc7c73bf
1 changed files with 13 additions and 0 deletions

View File

@ -181,6 +181,19 @@ main=${dev}2
# Encrypting partition. # Encrypting partition.
echo "Encrypting system partition. This might take a while." echo "Encrypting system partition. This might take a while."
while true;
do
printf "\r\ Encrypting..."
sleep 0.5
printf "\r| Encrypting..."
sleep 0.5
printf "\r/ Encrypting..."
sleep 0.5
printf "\r- Encrypting..."
sleep 0.5
done
echo echo
echo -en "$pwcr\n$pwcr" | cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/$main && echo -en "$pwcr\n$pwcr" | cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/$main &&
echo "Partition successfully encrypted." echo "Partition successfully encrypted."