From 423fbcba2fcfb439be64ed224743d637d7c42d70 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 26 Nov 2019 01:48:02 +0100 Subject: Wiping theorical optimization --- joes-arch-install-UEFI.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh index 78c9154..b14d8cd 100755 --- a/joes-arch-install-UEFI.sh +++ b/joes-arch-install-UEFI.sh @@ -398,9 +398,10 @@ if [ "$basepartc" -ge 1 ]; then dd if=/dev/zero of="$drv$towipe" bs=1M status=progress > /dev/null 2>&1 ((i++)) done +else + echo -e "${BCYAN}Wiping $drv...${END}" + dd if=/dev/zero of="$drv" bs=1M status=progress > /dev/null 2>&1 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 && echo echo -e "${BGREEN}Wiping complete.${END}" -- cgit v1.2.3