diff options
author | Kroy <kroy@kroy.io> | 2018-11-06 10:29:42 -0600 |
---|---|---|
committer | Kroy <kroy@kroy.io> | 2018-11-06 10:29:42 -0600 |
commit | 13ef90fa2b51baedf9efa4299eb4d2c128b6f191 (patch) | |
tree | 622690981d2b2373de0a6c12409bf27aaed3e1ba /scripts/vyatta-grub-setup | |
parent | a7731785aeb928ace93a176a9c574267a00836e4 (diff) | |
download | vyatta-cfg-system-13ef90fa2b51baedf9efa4299eb4d2c128b6f191.tar.gz vyatta-cfg-system-13ef90fa2b51baedf9efa4299eb4d2c128b6f191.zip |
T955: Integrating EFI into the installer
Diffstat (limited to 'scripts/vyatta-grub-setup')
-rwxr-xr-x | scripts/vyatta-grub-setup | 3 |
1 files changed, 2 insertions, 1 deletions
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 |