summaryrefstree
path: root/vendor/etc/init/nvram.rc
blob: 517f5b8951f480da73b47df542da084d4e5e8c35 (plain)
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
on early-boot
    start nvram_cc

service nvram_cc /system/vendor/bin/nvram_cc
    class main
    user root
    group system
    oneshot

# Spinel code for OSPINEL-1673 by qiutong1 at 2023/04/14 start
on property:ro.serialno=*
    write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
# Spinel code for OSPINEL-1673 by qiutong1 at 2023/04/14 end

#on property:persist.sys.debug.getaplog=1
#    restart nvram_cc

on property:sys.boot_completed=1
    start ifaa_check

service ifaa_check vendor/bin/ifaa_product 2
    class main
    user system
    group system
    disabled
    oneshot