nkk71 | 71c6c50 | 2017-01-05 23:55:05 +0200 | [diff] [blame] | 1 | on fs |
| 2 | # needed to make qseecomd work in recovery |
| 3 | chmod 0660 /dev/qseecom |
| 4 | chown system drmrpc /dev/qseecom |
| 5 | chmod 0664 /dev/ion |
| 6 | chown system system /dev/ion |
| 7 | |
nkk71 | 7d1222a | 2017-11-06 17:27:21 +0200 | [diff] [blame] | 8 | |
| 9 | # Oreo has qseecomd in /vendor/bin so add the additional |
| 10 | # service. Only an existing binary will be started, never both. |
| 11 | |
nkk71 | 71c6c50 | 2017-01-05 23:55:05 +0200 | [diff] [blame] | 12 | service sys_qseecomd /system/bin/qseecomd |
| 13 | user root |
| 14 | group root |
| 15 | setenv PATH /system/bin |
| 16 | setenv LD_LIBRARY_PATH /system/lib64:/system/lib |
| 17 | disabled |
| 18 | oneshot |
nkk71 | 7d1222a | 2017-11-06 17:27:21 +0200 | [diff] [blame] | 19 | |
| 20 | service ven_qseecomd /vendor/bin/qseecomd |
| 21 | user root |
| 22 | group root |
| 23 | setenv PATH /vendor/bin:/system/bin |
| 24 | setenv LD_LIBRARY_PATH /vendor/lib64:/system/lib64:/vendor/lib:/system/lib |
| 25 | disabled |
| 26 | oneshot |