summaryrefslogtreecommitdiff
path: root/rootdir/init.sony.rc
blob: 0902fd2ccceaf5860453bd3df584249f419d06c9 (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 system system

    # SONY: setup idd partition
    chown system system /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 /idd/lost+found 0770 root root
    mkdir /idd/output 0755 system system
    mkdir /idd/socket 0711 system system
    restorecon_recursive /idd

service iddd /system/vendor/bin/iddd
    class main
    user system
    group system log inet cameraserver media