X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-scripts%2Fop_cpuspeed.sh;fp=recipes%2Fpandora-system%2Fpandora-scripts%2Fop_cpuclock.sh;h=94fad68256b8f6485953a062ed5e3a94ae1d2b82;hp=e417f8b8facfe9d62e7196fe832ce1bcc1714201;hb=f6fab330a977ee65feac9b59b3c8430be16d977f;hpb=89d568b0e74b21125e0b24b7e38fc5bd1f85ac36 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