From 7f1fbd30392bdf1df19977dfae828aa15fb6b979 Mon Sep 17 00:00:00 2001 From: sean Date: Wed, 10 Jul 2019 15:54:27 -0700 Subject: [PATCH] tweaks --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 1c6e3a2..6b13682 100644 --- a/setup.sh +++ b/setup.sh @@ -247,7 +247,7 @@ echo ' echo "Failed to mount EFI partition or install grub-EFI - $errors"' >> /m echo " exit 1">> /mnt/setup-chroot.sh echo "fi">> /mnt/setup-chroot.sh -echo 'echo "Done..."' >> /mnt/setup-chroot.sh +echo 'echo "Done."' >> /mnt/setup-chroot.sh if ! [ "$disks" = "" ]; then echo 'echo ""' >> /mnt/setup-chroot.sh @@ -318,7 +318,7 @@ echo "echo \"Done.\"" >> /mnt/setup-chroot.sh echo 'echo ""' >> /mnt/setup-chroot.sh echo 'echo "Installing grub UEFI on plex1..."' >> /mnt/setup-chroot.sh -echo "errors=\$(grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck --no-floppy && umount /boot/efi)" >> /mnt/setup-chroot.sh +echo "errors=\$(grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck --no-floppy 2>&1 1>/dev/null && umount /boot/efi 2>&1 1>/dev/null)" >> /mnt/setup-chroot.sh echo "if ! [ \"\$?\" = \"0\" ]; then echo \"Failed to install grub UEFI on plex1 - \$errors\"; exit 104; fi" >> /mnt/setup-chroot.sh echo "echo \"Done.\"" >> /mnt/setup-chroot.sh