From a3c89343ac386b003e2219d72712da240d46ebb0 Mon Sep 17 00:00:00 2001 From: sean Date: Wed, 10 Jul 2019 12:10:16 -0700 Subject: [PATCH] bad line endings? --- setup.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index 182c497..e789f84 100644 --- a/setup.sh +++ b/setup.sh @@ -58,13 +58,14 @@ bootmirror=""; rootraidz=""; for disk in `echo "$disks"`; do bootmirror="$bootmi # refresh drives or there are missing partitions partprobe 2>/dev/null 1>/dev/null -# wait for the partitions to show up -for disk in `echo "$disks"` -do - while ! [ -e "/dev/disk/by-id/${disk}-part3" ]; do +# wait for the partitions to show up +for disk in `echo "$disks"` +do + while ! [ -e "/dev/disk/by-id/${disk}-part3" ]; do partprobe 2>/dev/null 1>/dev/null - sleep 1 - done + echo "Waiting for ${disk} partition 3 to update..." + sleep 3 + done done echo ""