From 9f79f5043a2508a5f6de7985ae28849d71f89600 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 8 Feb 2022 19:00:25 +0100 Subject: [PATCH] progress --- main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index de0e9b4..e1c9223 100755 --- a/main.sh +++ b/main.sh @@ -112,7 +112,7 @@ do_partition() { parted "${TARGET_PHY_ID}" unit mib -s -- mkpart root ext4 "$start" 100% mkfs.vfat -I -F32 "${TARGET_PHY_ID}-part1" TARGET_PART="2" - dd if=/dev/random of="${TARGET_PHY_ID}-part2" bs=512 count=4 > /dev/null 2>&1 + dd if=/dev/random of="${TARGET_PHY_ID}-part2" bs=512 count=4 else parted "${TARGET_PHY_ID}" -s -- mklabel msdos sleep 2 @@ -125,7 +125,7 @@ do_partition() { TARGET_PART="2" fi parted "${TARGET_PHY_ID}" unit mib -s -- mkpart primary ext4 "$start" -1s - dd if=/dev/random of="${TARGET_PHY_ID}-part${TARGET_PART}" bs=512 count=4 > /dev/null 2>&1 + dd if=/dev/random of="${TARGET_PHY_ID}-part${TARGET_PART}" bs=512 count=4 fi sleep 2 TARGETNAME="$(basename "${TARGET_PHY_ID}-part${TARGET_PART}")"