summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/elilo/files')
-rw-r--r--sys-boot/elilo/files/digest-elilo-3.4-r11
-rw-r--r--sys-boot/elilo/files/elilo-3.44
2 files changed, 3 insertions, 2 deletions
diff --git a/sys-boot/elilo/files/digest-elilo-3.4-r1 b/sys-boot/elilo/files/digest-elilo-3.4-r1
new file mode 100644
index 000000000000..6c9603e2135d
--- /dev/null
+++ b/sys-boot/elilo/files/digest-elilo-3.4-r1
@@ -0,0 +1 @@
+MD5 e7357929dfca29436d35ad6386fc051c elilo-3.4.tar.gz 316518
diff --git a/sys-boot/elilo/files/elilo-3.4 b/sys-boot/elilo/files/elilo-3.4
index 08bbb03527f4..f34a2fe75a54 100644
--- a/sys-boot/elilo/files/elilo-3.4
+++ b/sys-boot/elilo/files/elilo-3.4
@@ -269,8 +269,8 @@ checkconf()
local CONFERR=1
fi
- if [ ! -d /proc/efi/vars -a "$efiboot" = 1 ] ; then
- echo 1>&2 "$PRG: /proc/efi/vars not available, boot menu not updated"
+ if [ ! -d /proc/efi/vars ] && [ ! -d /sys/firmware/efi/vars ] && [ "$efiboot" = 1 ] && ! modprobe -q efivars; then
+ echo 1>&2 "$PRG: no efi/vars under /proc or /sys/firmware, boot menu not updated"
efiboot=0
fi