acpid: improve the rc script by /proc/acpi/event existence.
--HG-- extra : convert_revision : 3cc23819bdd339c85556773d0fd9aacd0fc0e23e
This commit is contained in:
parent
24664c14c6
commit
a810a83f41
1 changed files with 4 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue