cm: Update permissions for ondemand sysfs nodes
Change-Id: I4d7e856a720bef539bd5c43624cc8ed746b2cc95
This commit is contained in:
parent
bc68cf2cc0
commit
f9bb7779ed
@ -57,7 +57,17 @@ on boot
|
|||||||
chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
|
chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
|
||||||
chmod 0660 /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
|
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
|
# Assume SMP uses shared cpufreq policy for all CPUs
|
||||||
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||||
|
Loading…
Reference in New Issue
Block a user