tweaks but not really

test
sean 7 years ago
parent 5e45529a0d
commit bf368d0d25

@ -8,7 +8,6 @@ echo "Updating local packages..."
apt-add-repository universe >/dev/null 2>/dev/null && apt update >/dev/null 2>/dev/null
if [ "$?" = "0" ]; then
echo "Done."
echo ""
else
echo "Failed to add universal repository, update apt repository - possibly bad network connection."
exit 1
@ -58,8 +57,8 @@ bootmirror=""; rootraidz=""; for disk in `echo "$disks"`; do bootmirror="$bootmi
# wait for the partitions to show up
for disk in `echo "$disks"`
do
while ! [ -f "/dev/disk/by-id/${disk}-part3" ]; do
sleep 1
while ! [ -e "/dev/disk/by-id/${disk}-part3" ]; do
sleep 1s
done
done

Loading…
Cancel
Save