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
10 lines
311 B
Plaintext
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
|