Arjan van de Ven wrote:
> Hi,
>
> I want to release version 1.8 of PowerTOP in a day or two; there have
> been a bunch of small string changes based on user feedback to make
> the screen look not-as-ugly; this however has resulted in more string
> changes than I would have preferred..
>
> Greetings,
> Arjan van de Ven
>
> _______________________________________________
> Power mailing list
> [email protected]
> http://www.bughost.org/mailman/listinfo/power
>
If you wouldn't mind maybe you could apply the following patch to the
source.
It makes it kinda handy for me to install the program setuid root.
Maybe it's useful to others. Thanks.
FixGetUid() {
if [[ ! -f "$1.orig" ]]; then
mv "$1" "$1.orig"
sed 's/getuid/geteuid/g' "$1.orig" > "$1"
fi
}
FixGetUid 'powertop.c'
FixGetUid 'display.c'
_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power