diff --git a/install.sh b/install.sh index 4095d84..bbdf651 100644 --- a/install.sh +++ b/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."