aidl: usb: Move permission changes into device specific rc
Change-Id: I812ca6f40baa03c4144b077621d7c7b9a987031a Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
committed by
Matsvei Niaverau
parent
a952e890e8
commit
aa74afa5db
@@ -1,15 +1,3 @@
|
||||
on boot
|
||||
chown root system /sys/class/typec/port0/power_role
|
||||
chown root system /sys/class/typec/port0/data_role
|
||||
chown root system /sys/class/typec/port0/port_type
|
||||
chown root system /sys/class/udc/${sys.usb.controller}/device/mode
|
||||
chown root system /sys/class/udc/${sys.usb.controller}/device/cmode
|
||||
chmod 664 /sys/class/typec/port0/power_role
|
||||
chmod 664 /sys/class/typec/port0/data_role
|
||||
chmod 664 /sys/class/typec/port0/port_type
|
||||
chmod 664 /sys/class/udc/${sys.usb.controller}/device/mode
|
||||
chmod 664 /sys/class/udc/${sys.usb.controller}/device/cmode
|
||||
|
||||
service vendor.usb_default /vendor/bin/hw/android.hardware.usb-service.mediatek
|
||||
class hal
|
||||
user system
|
||||
|
||||
Reference in New Issue
Block a user