aboutsummaryrefslogtreecommitdiff
path: root/rootdir/init.sony.rc
blob: 3decaa71e5d4265b7d5668d8db2e4db3761c6393 (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 oem_5987 oem_5987

    # 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 oem_5987 oem_5987
    mkdir /mnt/idd/socket 0711 oem_5987 oem_5987
    restorecon_recursive /mnt/idd

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