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
acpid.patch
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
