From 13ef90fa2b51baedf9efa4299eb4d2c128b6f191 Mon Sep 17 00:00:00 2001 From: Kroy Date: Tue, 6 Nov 2018 10:29:42 -0600 Subject: T955: Integrating EFI into the installer --- scripts/vyatta-grub-setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/vyatta-grub-setup') diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup index 3959547d..beea8e65 100755 --- a/scripts/vyatta-grub-setup +++ b/scripts/vyatta-grub-setup @@ -156,7 +156,8 @@ fi echo -e "serial --unit=0 --speed=9600" echo "terminal_output --append serial" - if [ -b /dev/$EFI_PARTITION ]; then + # EFI needs a few extra modules + if [ "$EFI_PARTITION" -eq "1" ]; then echo -e "insmod efi_gop" echo -e "insmod efi_uga" fi -- cgit v1.2.3