acpid
Vladimir Dronnikov
dronnikov at gmail.com
Sat Oct 11 17:20:23 UTC 2008
Hello, list!
Attached is the patch which introduces new applet: acpid.
It reads /proc/acpi/event (or whatever file specified via -e option)
line-by-line and spawns run-parts /etc/acpi/<EVENT> handler.
It is just my busyboxed experience in handling laptop special buttons
but it can seamlessly be used to handle any ACPI event.
As I completely dislike the way the big acpid uses to configure (a
bunch of files hardly going further then specify a trivial regexp), it
is not a drop-in replacement. However, if an interest comes up I fix
that.
Please, comment and consider applying.
TIA,
--
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpid.patch
Type: application/octet-stream
Size: 4355 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20081011/b0618bf9/attachment-0002.obj
More information about the busybox
mailing list