tweaks
This commit is contained in:
@@ -161,7 +161,7 @@ done
|
|||||||
# create boot mirror list and root list
|
# 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
|
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
|
# refresh drives or there are missing partitions
|
||||||
partprobe 2>/dev/null 1>/dev/null
|
partprobe 2>/dev/null 1>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user