summaryrefslogtreecommitdiff
path: root/rootdir/etc/init.sony.rc
blob: 6d548f503629ed3826e1264ba7fdc313af4d752d (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 /vendor/bin/iddd
    class main
    user system
    group system log inet cameraserver media