From: Grazvydas Ignotas Date: Mon, 25 Jun 2012 21:13:37 +0000 (+0300) Subject: pandora-state: set CPU mhz correctly on boot X-Git-Tag: sz_152~60 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=32b3504e8dac702a6f12444f7463c130304e7e1b;hp=0ec4925f6a528a18df2ef65b83b5c63cb601023c;ds=sidebyside pandora-state: set CPU mhz correctly on boot --- diff --git a/recipes/pandora-system/pandora-state.bb b/recipes/pandora-system/pandora-state.bb index 22f6502..a2ad78e 100755 --- a/recipes/pandora-system/pandora-state.bb +++ b/recipes/pandora-system/pandora-state.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "pandora-scripts" -PR = "r11" +PR = "r12" inherit update-rc.d INITSCRIPT_NAME = "pandora-state" diff --git a/recipes/pandora-system/pandora-state/rc.pandora-state b/recipes/pandora-system/pandora-state/rc.pandora-state index c1a1f98..dc548ba 100644 --- a/recipes/pandora-system/pandora-state/rc.pandora-state +++ b/recipes/pandora-system/pandora-state/rc.pandora-state @@ -53,7 +53,7 @@ d_start() { if [ -f /etc/pandora/shutdown ]; then rm /etc/pandora/shutdown sync - echo $cpuspeed > /proc/pandora/cpu_mhz_max + /usr/pandora/scripts/op_cpuspeed.sh -n $cpuspeed else echo "No clean shutdown - will not set CPU speed" touch /tmp/nocleanwarn