summaryrefslogtreecommitdiff
path: root/rootdir/etc/init.target.rc
diff options
context:
space:
mode:
authorjhenrique09 <jhenrique09.mcz@hotmail.com>2019-09-16 20:21:42 -0300
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit1643c02b301b880592b67ed06c34a15cceeb5531 (patch)
treeec4f22c0ed4611106b7fdb5dad810021d3625d63 /rootdir/etc/init.target.rc
parenta147b82175c1ecd59c73bb6395828214938a253d (diff)
sdm660-common: Set permission for dt2w node
Change-Id: Ie8dd5fc512e6e1e3a33ce0d7907924c05e0bcf43
Diffstat (limited to 'rootdir/etc/init.target.rc')
-rwxr-xr-xrootdir/etc/init.target.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc
index 3d9ef68..0a3d228 100755
--- a/rootdir/etc/init.target.rc
+++ b/rootdir/etc/init.target.rc
@@ -89,6 +89,10 @@ on boot
#Create folder dump yuv images while debugging
mkdir /data/vendor/camera 0770 camera camera
+# DT2W
+ chown system system /proc/wake_node
+ chmod 0660 /proc/wake_node
+
#USB controller configuration
setprop vendor.usb.rndis.func.name "rndis_bam"
setprop vendor.usb.rmnet.func.name "rmnet_bam"