summaryrefstree
path: root/vendor/etc/init/hw/init.nfc.sec.rc
blob: bdd3e9f71c88342f8698f63dc0bb3f2bbe84412c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
on post-fs-data
# NFC storage
    mkdir /data/nfc

on early-boot
#NFC hal surfix
setprop ro.hardware.nfc_nci sec

on boot
# NFC permission
    chown nfc nfc /dev/sec-nfc
    chmod 0770 /dev/sec-nfc
    chown nfc nfc /data/nfc
    chmod 0770 /data/nfc