acpid: improve the rc script by /proc/acpi/event existence.

--HG--
extra : convert_revision : 3cc23819bdd339c85556773d0fd9aacd0fc0e23e
This commit is contained in:
Juan RP 2009-12-02 03:02:47 +01:00
parent 24664c14c6
commit a810a83f41

View file

@ -16,6 +16,10 @@ checkconfig() {
eerror "ACPI support has not been compiled into the kernel"
return 1
fi
if [ ! -e /proc/acpi/event ]; then
eerror "Your kernel needs CONFIG_ACPI_PROC_EVENT support"
return 1
fi
}
start() {