From 057b95d67d364f6d2ff4a08ee7f95d41d9b78649 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Wed, 14 Apr 2010 01:06:53 +0200 Subject: [PATCH] op_cpuspeed: Bugfix: Pressing cancel did set CPU-Speed to 0 --- recipes/pandora-system/pandora-scripts/op_cpuspeed.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5