Update install.sh
This commit is contained in:
parent
5e04e2f96f
commit
15cc7c73bf
13
install.sh
13
install.sh
|
@ -181,6 +181,19 @@ main=${dev}2
|
|||
|
||||
# Encrypting partition.
|
||||
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 -en "$pwcr\n$pwcr" | cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/$main &&
|
||||
echo "Partition successfully encrypted."
|
||||
|
|
Loading…
Reference in New Issue