Add permission handling with ueventd Add selinux context to system_ext/etc/selinux/system_ext_file_contexts Remove init changes and boot image patching Only initialize the keyboard once on boot with a non-standard name Standard names are f[1-9] we use fhid
9 lines
248 B
Bash
9 lines
248 B
Bash
#!/bin/sh
|
|
ueventd=$(getprop init.svc.ueventd)
|
|
if [ "$ueventd" = "running" ]; then
|
|
# ueventd ensures that the correct permissions get applied, it may also apply the correct selabel, not sure
|
|
stop ueventd
|
|
start ueventd
|
|
fi
|
|
/system/bin/ghid.sh init
|