From acf94c1c70233e80a6925341b7be5c5f7b6f3d2d Mon Sep 17 00:00:00 2001 From: sean Date: Fri, 26 Jul 2019 13:49:27 -0700 Subject: [PATCH] tweaks --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 558093c..cb91ce2 100644 --- a/setup.sh +++ b/setup.sh @@ -161,7 +161,7 @@ done # create boot mirror list and root list count="0"; bootmirror=""; for disk in `echo "$boots"`; do bootmirror="$bootmirror /dev/disk/by-id/${disk}-part3"; count=$((count + 1)); done; if [ "$count" -gt "1" ]; then bootmirror="mirror $bootmirror"; fi -rootraidz=""; for disk in `echo "$boots"`; do rootraidz="$rootraidz /dev/disk/by-id/${disk}-part4"; done +rootraidz=""; for disk in `echo "$disks"`; do rootraidz="$rootraidz /dev/disk/by-id/${disk}-part4"; done # refresh drives or there are missing partitions partprobe 2>/dev/null 1>/dev/null