aboutsummaryrefslogtreecommitdiff
path: root/configs/init/init.cccimdinit.rc
blob: 70b44911a4c7e7ad051879e86a57aa686559fdb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
on early-init

on post-fs-data

    # Modem related device nodes
    mkdir /vendor/nvdata/md  0770 root system
    mkdir /vendor/nvdata/md3  0770 root system
    mkdir /data/md3	0770 root system
#  Build-in Modified - S
#    insmod /vendor/lib/modules/ccci_plat.ko
#    insmod /vendor/lib/modules/ccci.ko
#  Build-in Modified - E
#   chown radio radio /sys/class/BOOT/BOOT/boot/md
    chown radio radio /sys/kernel/ccci/boot

#SeLinux
    mkdir /data/ccci_cfg 0770 system radio
    restorecon /data/ccci_cfg

service ccci_mdinit /vendor/bin/ccci_mdinit 0
    user system
    group radio system
    class core
    oneshot

service ccci3_mdinit /vendor/bin/ccci_mdinit 2
    user system
    group radio system
    class core
    oneshot