From: Michael Mrozek Date: Tue, 13 Apr 2010 23:06:53 +0000 (+0200) Subject: op_cpuspeed: Bugfix: Pressing cancel did set CPU-Speed to 0 X-Git-Tag: Release-2010-05/1~55 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=057b95d67d364f6d2ff4a08ee7f95d41d9b78649 op_cpuspeed: Bugfix: Pressing cancel did set CPU-Speed to 0 --- diff --git a/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh b/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh index 3f2c65b..df9b72a 100644 --- a/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh +++ b/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh @@ -29,6 +29,6 @@ if [ $newmhz ]; then if [ $newmhz -le $minmhz ]; then newmhz=$minmhz; fi if [ $newmhz -ge $maxmhz ]; then newmhz=$maxmhz; fi + echo $newmhz > $device + echo cpu_mhz_max set to $(cat /proc/pandora/cpu_mhz_max) fi -echo $newmhz > $device -echo cpu_mhz_max set to $(cat /proc/pandora/cpu_mhz_max)