2009/11/26 Dan Nicholson <dbn.li...@gmail.com>:
> I think if this is really the way to go, then shell is not the right
> tool for the job at runtime. You could write a trivial C program to
> parse that out and spit out the quirks on stdout for pm-utils to use.
> Bash is great, but it is not the right tool for all jobs.

One obvious alternative is, to generate the quirks database at build
time rather than at runtime on each users computer, and ship it along
with pm-utils.

The only disadvantage of this approach that I can see, is that local
modification (via hal fdi files in /etc) wouldn't be considered.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to