pandora-state: set CPU mhz correctly on boot
[openpandora.oe.git] / recipes / pandora-system / pandora-state / rc.pandora-state
index c1a1f98..dc548ba 100644 (file)
@@ -53,7 +53,7 @@ d_start() {
        if [ -f /etc/pandora/shutdown ]; then
              rm /etc/pandora/shutdown
              sync
        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
        else
              echo "No clean shutdown - will not set CPU speed"
              touch /tmp/nocleanwarn