summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-10-07 23:39:12 -0700
committerSteve Kondik <shade@chemlab.org>2013-10-07 23:39:12 -0700
commitf9bb7779edb1e4194e647b81cc3e6a6f5944a9d8 (patch)
tree60824f4e5ab03a2abf013a45020ab8b0eb4ead92 /prebuilt
parentbc68cf2cc09a15c1de62ec711a58fd90d6318545 (diff)
downloadvendor_replicant-f9bb7779edb1e4194e647b81cc3e6a6f5944a9d8.zip
vendor_replicant-f9bb7779edb1e4194e647b81cc3e6a6f5944a9d8.tar.gz
vendor_replicant-f9bb7779edb1e4194e647b81cc3e6a6f5944a9d8.tar.bz2
cm: Update permissions for ondemand sysfs nodes
Change-Id: I4d7e856a720bef539bd5c43624cc8ed746b2cc95
Diffstat (limited to 'prebuilt')
-rw-r--r--prebuilt/common/etc/init.local.rc12
1 files changed, 11 insertions, 1 deletions
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc
index a0ac39f..997be9b 100644
--- a/prebuilt/common/etc/init.local.rc
+++ b/prebuilt/common/etc/init.local.rc
@@ -57,7 +57,17 @@ on boot
chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
chown system system /sys/devices/system/cpu/cpufreq/ondemand/input_boost
- chmod 0600 /sys/devices/system/cpu/cpufreq/ondemand/input_boost
+ chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/input_boost
+ chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core
+ chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core
+ chown system system /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core
+ chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core
+ chown system system /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq
+ chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq
+ chown system system /sys/devices/system/cpu/cpufreq/ondemand/sync_freq
+ chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/sync_freq
+ chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load
+ chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load
# Assume SMP uses shared cpufreq policy for all CPUs
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor