mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
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"
|
eerror "ACPI support has not been compiled into the kernel"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
if [ ! -e /proc/acpi/event ]; then
|
||||||
|
eerror "Your kernel needs CONFIG_ACPI_PROC_EVENT support"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue