From: David-John Willis Date: Tue, 17 Nov 2009 12:15:15 +0000 (+0000) Subject: pandora-scripts: Update helper scripts. X-Git-Tag: Release-2010-05/1~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6fab330a977ee65feac9b59b3c8430be16d977f;p=openpandora.oe.git pandora-scripts: Update helper scripts. --- 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