On 12/15/2010 12:54 PM, Dale Pontius wrote: > On 12/15/2010 07:47 AM, Jaroslav Skarvada wrote: >> This is feature request that I recognized in: >> https://bugzilla.redhat.com/show_bug.cgi?id=644801 >> >> It may be good to have an option for creation of shell script that will >> apply all the suggested settings. Such information can be now grabbed >> via -d switch but transformation to script requires a little creativity. >> >> I think this may be useful especially for inexperienced users, >> thus forwarding upstream >> >> Jaroslav >> >> _______________________________________________ >> Power mailing list >> [email protected] >> http://www.bughost.org/mailman/listinfo/power > I would rather like the contrary, as well. Most of the time when > powertop makes a suggestion, it also tells you how to make that > suggestion "stick", usually by adding something to /etc/sysctl.conf. > But not always, sometimes it just says to press this button now. I > would like to have all of the suggestions to make it "stick". For that > matter, I would implement some of the suggestions differently depending > on whether I'm on battery or AC, etc.
I hear the requests.... (also not the first time ;-) ) it's not all that easy to implement. I am still trying to figure out how to do this in the powertop 2.x tree, which has a more flexible code base at least. but it's one thing to do something from a C program.. it's another to generate a shell program for that that does the same. _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
