rear/rear — pull request #253 by Florent38 (2013-06-21 07:22:02+00:00)
Title: Fix UEFI detection on some distributions 

For example in RHEL where efivarskernel module is builtin. The check of /sys/firmware/efi/{efi,efivars} is enough IMHO.
Example on RHEL 6.4 on an UEFI system:
$ modprobe efivars
FATAL: Module efivars not found.