summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-10-03 19:52:21 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-03 19:52:21 +0000
commit1091cbe766cd27a748630f234271cf9edb9b5430 (patch)
tree977ff023125cc125c23bc2c367225b260c095df3
parent5e7a5b6f525f2ecd070925097ee3c83fa9210d61 (diff)
parent095b1c720568f68c743acd8dc200b82cde0a388b (diff)
downloadmako-1091cbe766cd27a748630f234271cf9edb9b5430.tar.gz
am 095b1c72: Merge "Label /sys/devices/system/cpu/cpufreq/ondemand and its files."
* commit '095b1c720568f68c743acd8dc200b82cde0a388b': Label /sys/devices/system/cpu/cpufreq/ondemand and its files.
-rw-r--r--init.mako.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.mako.rc b/init.mako.rc
index 2f76197..bd07d6c 100644
--- a/init.mako.rc
+++ b/init.mako.rc
@@ -222,6 +222,7 @@ on post-fs-data
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor "ondemand"
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "ondemand"
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor "ondemand"
+ restorecon_recursive /sys/devices/system/cpu/cpufreq/ondemand
write /sys/devices/system/cpu/cpufreq/ondemand/up_threshold 90
write /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate 50000
write /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy 1