X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=a13762694cd10b91d806db60771f275a6f85d964;hp=6fa4d37c1398d72e4d08e05bee8dd4002b084505;hb=74180eeaffe3f0fa5adec342f23b72b8ce338ca4;hpb=a5945ace72e7ebc689462fea3947715357a39b3f diff --git a/autoconfig.functions b/autoconfig.functions index 6fa4d37..a137626 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -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