test
sean 7 years ago
parent cadf53b85c
commit 1c607bd09a

@ -370,26 +370,26 @@ if ! [ "$?" = "0" ]; then
fi fi
# commented out for debugging # commented out for debugging
#echo "" echo ""
#echo "Clearing chroot configuration script..." echo "Clearing chroot configuration script..."
#rm /mnt/setup-chroot.sh rm /mnt/setup-chroot.sh
#echo "Done." echo "Done."
#echo "" echo ""
#echo "Unmounting chroot mounts..." echo "Unmounting chroot mounts..."
#mount | grep -v zfs | tac | awk '/\/mnt/ {print $3}' | xargs -i{} umount -lf {} mount | grep -v zfs | tac | awk '/\/mnt/ {print $3}' | xargs -i{} umount -lf {}
#echo "Done." echo "Done."
#echo "" echo ""
#echo "Exporting zpools..." echo "Exporting zpools..."
#errors=`zpool export -a 2>&1 1>/dev/null` errors=`zpool export -a 2>&1 1>/dev/null`
#if ! [ "$?" = "0" ]; then if ! [ "$?" = "0" ]; then
# echo "Couldn't export mounted zpools - $errors" echo "Couldn't export mounted zpools - $errors"
# exit 8 exit 8
#fi fi
#echo "Done." echo "Done."
#echo "Congratulations! The install was successful. Please reboot and set your boot device using UEFI in the BIOS." echo "Congratulations! The install was successful. Please reboot and set your boot device using UEFI in the BIOS."
exit 0 exit 0
#sed -i -r "s/(^|[^#y])(compress)/\1#\2/" "$file" #sed -i -r "s/(^|[^#y])(compress)/\1#\2/" "$file"
Loading…
Cancel
Save