summaryrefslogtreecommitdiff
path: root/rootdir/init.sony.rc
blob: 65d9f13425bbaa904c1cde8a15d7a62b2e0a6400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This file includes specific init configs used by Sony devices

on fs
    # SONY: create mount point for idd
    mkdir /idd 0751 idd idd

    # SONY: setup idd partition
    chown oem_5987 oem_5987 /idd
    chmod 0751 /idd
    exec u:r:qti_init_shell:s0 -- /system/bin/rm -r /idd/lost+found
    symlink /idd /mnt/idd
    restorecon_recursive   /idd

on-post-fs-data
    mkdir /mnt/idd/lost+found 0770 root root
    mkdir /mnt/idd/output 0755 idd idd
    mkdir /mnt/idd/socket 0711 idd idd
    restorecon_recursive /mnt/idd

service iddd /system/bin/iddd
    class main
    user oem_5987
    group oem_5987 log inet oem_5993