https://wiki.alpinelinux.org/wiki/Power ... ybox_acpid
Zdrojak acpid.c v busyboxe:
Kód: Vybrat vše
//config: acpid listens to ACPI events coming either in textual form from
//config: /proc/acpi/event (though it is marked deprecated it is still widely
//config: used and _is_ a standard) or in binary form from specified evdevs
//config: (just use /dev/input/event*).
//config:
//config: It parses the event to retrieve ACTION and a possible PARAMETER.
//config: It then spawns /etc/acpi/<ACTION>[/<PARAMETER>] either via run-parts
//config: (if the resulting path is a directory) or directly as an executable.