ACPI: re-add check for kernel support
[grml-autoconfig.git] / autoconfig.functions
index 6fa4d37..a137626 100755 (executable)
@@ -697,6 +697,8 @@ if checkbootparam 'noacpi'; then
   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