summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-12-20 18:52:03 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-02 15:05:33 -0800
commit2b5b3bb103f59d9d3bf25c0c1f8035db036917da (patch)
tree5fc09aac1877d42a1a3cddf5b83dcc0037bb0fce
parent2bf496378dbaabe3a49915574b11b1c74032b34a (diff)
downloadsystem_core-2b5b3bb103f59d9d3bf25c0c1f8035db036917da.zip
system_core-2b5b3bb103f59d9d3bf25c0c1f8035db036917da.tar.gz
system_core-2b5b3bb103f59d9d3bf25c0c1f8035db036917da.tar.bz2
rootdir: init.rc: set perms for new interactive governor attrs
/sys/devices/system/cpu/cpufreq/interactive/timer_slack /sys/devices/system/cpu/cpufreq/interactive/target_loads Change-Id: Ia5d5c3d615ad64bab3a1317e5de2ac9a6d61679e
-rw-r--r--rootdir/init.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 1a671f5..d4baab4 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -281,10 +281,14 @@ on boot
chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_rate
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/timer_rate
+ chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_slack
+ chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/timer_slack
chown system system /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
chown system system /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
+ chown system system /sys/devices/system/cpu/cpufreq/interactive/target_loads
+ chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/target_loads
chown system system /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
chown system system /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay