pandora-state: set CPU mhz correctly on boot
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 Jun 2012 21:13:37 +0000 (00:13 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 Jun 2012 21:13:37 +0000 (00:13 +0300)
recipes/pandora-system/pandora-state.bb
recipes/pandora-system/pandora-state/rc.pandora-state

index 22f6502..a2ad78e 100755 (executable)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "pandora-scripts"
 
-PR = "r11"
+PR = "r12"
 inherit update-rc.d
 
 INITSCRIPT_NAME = "pandora-state"
index c1a1f98..dc548ba 100644 (file)
@@ -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