From 4a705cd605577de7ec2a736f0861e8e3c9524693 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 26 Nov 2019 00:38:38 +0100 Subject: added wipe msgs --- joes-arch-install-UEFI.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh index 1073e3d..05bd716 100755 --- a/joes-arch-install-UEFI.sh +++ b/joes-arch-install-UEFI.sh @@ -409,10 +409,12 @@ if [ "$basepartc" -ge 1 ]; then i=1 while [[ $i -le $basepartc ]]; do towipe=$(lsblk "$drv" | grep part | awk '{print $1}' | rev | cut -c -1 | rev | awk "NR==$i") + echo -e "${BCYAN}Wiping $drv$towipe...${END}" dd if=/dev/zero of="$drv$towipe" bs=1M status=progress > /dev/null 2>&1 ((i++)) done fi +echo -e "${BCYAN}Wiping $drv...${END}" dd if=/dev/zero of="$drv" bs=1M status=progress > /dev/null 2>&1 wipefs --all --force "$drv" echo -e "${BGREEN}Wiping complete.${END}" -- cgit v1.2.3