Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Frozen: Set default governor to OnDemand at completion of bootup.

  • Loading branch information...
commit 6af26277aee8436dbcbb95382e74b24a4235584c 1 parent 98df8c5
Kim authored March 19, 2011

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  eb13.frozen/sbin/twilightzone.sh
4  eb13.frozen/sbin/twilightzone.sh
@@ -17,6 +17,10 @@ sync
17 17
 echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
18 18
 echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
19 19
 
  20
+# Switch to OnDemand CPU governor after bootup
  21
+
  22
+echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  23
+
20 24
 # Enable init.d support
21 25
 
22 26
 if [ -d /system/etc/init.d ]

0 notes on commit 6af2627

Please sign in to comment.
Something went wrong with that request. Please try again.