As kernel support can still be disabled with acpi=off, keep the check for
/proc/acpi (which is what acpi_available does, too). Just don't make give
this so much leeway.
ewarn "ACPI: Not loading modules as requested by boot option \"noacpi\"." ; eend 0
elif checkbootparam 'nogrmlacpi' ; then
ewarn "ACPI: Not loading modules as requested by boot option \"nogrmlacpi\"." ; eend 0
+elif [ ! -d /proc/acpi ] ; then
+ ewarn "ACPI: Kernel support not present." ; eend 0
else
einfo "ACPI: Loading modules (disable with boot option noacpi / nogrmlacpi): "
eindent