From 32b3504e8dac702a6f12444f7463c130304e7e1b Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Tue, 26 Jun 2012 00:13:37 +0300 Subject: [PATCH 1/1] pandora-state: set CPU mhz correctly on boot --- recipes/pandora-system/pandora-state.bb | 2 +- recipes/pandora-system/pandora-state/rc.pandora-state | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2