Hello, I've written an acpi command for toybox, and was thinking about porting it to Busybox. What I've written is a partial clone of acpi 1.7, implementing -abctV (ac, battery, cooling, and thermal status; -ctV are currently living in a patch). I easily could add -d.
Is this likely to be interesting? The code I have is currently using dirtree_read(), which corresponds to recursive_action(). Basically it looks in /sys/class/*/*/, /sys/class/power_supply, and /sys/class/thermal for device status. I could make it shorter if I use glob() instead of a recursive callback; does anyone know whether glob() is likely to be a bloat problem? Also, what would be the impact on license? It's currently "0-clause BSD". Thanks, Isaac Dunham. _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox