lordwelch dd1446f30e Attempt to fix instability with hid and configfs
I may just need a new cord
Add test for rc file
Add more logging
Exec the script and stat the service to run the script
Run the permission changes in a background subshell
2020-03-11 15:37:15 -07:00

10 lines
311 B
Plaintext

on property:sys.usb.ffs.ready=1 && property:sys.usb.config=* && property:sys.usb.configfs=1
exec u:r:magisk:s0 root root -- /system/bin/ghid.sh setup ${sys.usb.config}
start ghid
service ghid /system/bin/ghid.sh setup ${sys.usb.config}
user root
seclabel u:r:magisk:s0
disabled
oneshot