From f6fab330a977ee65feac9b59b3c8430be16d977f Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Tue, 17 Nov 2009 12:15:15 +0000 Subject: [PATCH] pandora-scripts: Update helper scripts. --- recipes/pandora-system/pandora-scripts.bb | 2 +- .../{op_cpuclock.desktop => op_cpuspeed.desktop} | 0 .../pandora-scripts/{op_cpuclock.sh => op_cpuspeed.sh} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename recipes/pandora-system/pandora-scripts/{op_cpuclock.desktop => op_cpuspeed.desktop} (100%) rename recipes/pandora-system/pandora-scripts/{op_cpuclock.sh => op_cpuspeed.sh} (83%) diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 15704c5..51b8ae7 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -3,7 +3,7 @@ LICENSE = "GPLV2" COMPATIBLE_MACHINE = "omap3-pandora" -PR = "r2" +PR = "r3" SRC_URI = " \ file://op_bright.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_cpuclock.desktop b/recipes/pandora-system/pandora-scripts/op_cpuspeed.desktop similarity index 100% rename from recipes/pandora-system/pandora-scripts/op_cpuclock.desktop rename to recipes/pandora-system/pandora-scripts/op_cpuspeed.desktop diff --git a/recipes/pandora-system/pandora-scripts/op_cpuclock.sh b/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh similarity index 83% rename from recipes/pandora-system/pandora-scripts/op_cpuclock.sh rename to recipes/pandora-system/pandora-scripts/op_cpuspeed.sh index e417f8b..94fad68 100644 --- a/recipes/pandora-system/pandora-scripts/op_cpuclock.sh +++ b/recipes/pandora-system/pandora-scripts/op_cpuspeed.sh @@ -12,7 +12,7 @@ newmhz=$1 fi if [ $newmhz ]; then if [ $newmhz -ge $safemhz ]; then - answer=$(DISPLAY=0:0 zenity --question --title "Alert" --text "You are trying to set the cpu clock to $newmhz which is above its specification of $safemhz, doing so will may burn down your house, sour milk, or just blow up (ok, not that likely)! proceed?";echo $?) + answer=$(DISPLAY=0:0 zenity --question --title "Alert" --text "You are trying to set the cpu clock to $newmhz which is above its specification of $safemhz, doing so may burn down your house, sour milk, or just blow up (ok, not that likely)! proceed?";echo $?) echo $answer if [ $answer = 1 ]; then exit 1; fi fi -- 2.39.2