From 15cc7c73bff13d46e31478b58008d6bbf9a7b0e2 Mon Sep 17 00:00:00 2001 From: proledatarian Date: Thu, 3 Mar 2022 10:27:29 +0000 Subject: [PATCH] Update install.sh --- install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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."