summaryrefslogblamecommitdiffstats
path: root/crypto/vold_decrypt/init.recovery.vold_decrypt.qseecomd.rc
blob: 08666085d4042c50103f128cb49c34b83d8ec653 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11






                                              



                                                               






                                                    







                                                                              
on fs
    # needed to make qseecomd work in recovery
    chmod 0660 /dev/qseecom
    chown system drmrpc /dev/qseecom
    chmod 0664 /dev/ion
    chown system system /dev/ion


# Oreo has qseecomd in /vendor/bin so add the additional
# service. Only an existing binary will be started, never both.

service sys_qseecomd /system/bin/qseecomd
    user root
    group root
    setenv PATH /system/bin
    setenv LD_LIBRARY_PATH /system/lib64:/system/lib
    disabled
    oneshot

service ven_qseecomd /vendor/bin/qseecomd
    user root
    group root
    setenv PATH /vendor/bin:/system/bin
    setenv LD_LIBRARY_PATH /vendor/lib64:/system/lib64:/vendor/lib:/system/lib
    disabled
    oneshot