summaryrefslogtreecommitdiff
path: root/rootdir/init.qcom.rc
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2015-06-08 14:41:14 +0200
committerGiulio Cervera <giulio.cervera@cyanogenmod.org>2015-08-25 19:20:24 +0200
commitf0ff107c6abb5b79e4226f3e85d94db2248863a3 (patch)
treec62fa8d56f33fdb602ba578311caade9618bd14b /rootdir/init.qcom.rc
parent6d4a0c403b19781a3e2e209c26ff23073521a5a1 (diff)
update permission for thermanager
Change-Id: I932a1e85bd363b333822fed4731a2c791781d1a4
Diffstat (limited to 'rootdir/init.qcom.rc')
-rw-r--r--rootdir/init.qcom.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 98584a1..f6bdfac 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -263,6 +263,9 @@ on boot
chmod 0644 /sys/class/power_supply/battery/input_current_trim
chmod 0644 /sys/class/power_supply/battery/voltage_min
+ # thermananger
+ chmod 0644 /sys/class/power_supply/usb/current_max
+
chown system system /sys/devices/virtual/graphics/fb0/rgb
chmod 0660 /sys/devices/virtual/graphics/fb0/rgb