summaryrefslogtreecommitdiffstats
path: root/crypto/vold_decrypt/init.recovery.vold_decrypt.hwservicemanager.rc
blob: ab8b4ac4d7597e9d37c1ff784bb9c2be70c91011 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Service names must be less than 16 characters in android-7.1 and
# below. The makefile will truncate service names if needed in any
# init.recovery.vold_decryp.*.rc file found in the vold_decrypt
# directory.
# It cannot however do this for any .rc file(s) that may be
# overridden by the device tree files!

# The seclabels are not needed when built in Android 8.0 tree
# in 7.1 however the below do not exist, so run them under vold
service sys_hwservicemanager /system/bin/hwservicemanager
    user root
    group root
    setenv PATH /system/bin
    setenv LD_LIBRARY_PATH /system/lib64:/system/lib
    onrestart setprop hwservicemanager.ready false
    disabled
    oneshot
    seclabel u:r:vold:s0