sdm660-common: rootdir: Fix permissions for dynamic thermal profile

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Ratoriku 2021-06-05 15:13:40 +08:00 committed by pix106
parent 748f477ad7
commit 65329561c4

View file

@ -116,6 +116,13 @@ on early-boot
on boot
start vendor.rmt_storage
start rfs_access
# Thermal
chmod 0664 /sys/class/thermal/thermal_message/sconfig
chown system system /sys/class/thermal/thermal_message/sconfig
chmod 0666 /sys/class/thermal/thermal_message/temp_state
chown system system /sys/class/thermal/thermal_message/temp_state
write /dev/cpuset/top-app/cpus 0-7
write /dev/cpuset/foreground/cpus 0-7
write /dev/cpuset/foreground/boost/cpus 0-7