• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "jobs" : [{
3            "name" : "post-fs-data",
4            "cmds" : [
5                "chown nfc /sys/nfc/nfc_chip_type",
6                "chgrp nfc /sys/nfc/nfc_chip_type",
7                "mkdir /data/nfc",
8                "start nfc_service"
9            ]
10        }
11    ],
12    "services" : [{
13            "name" : "nfc_service",
14            "path" : ["/system/bin/sa_main", "/system/profile/nfc_service.json"],
15            "uid" : "nfc",
16            "gid" : ["nfc", "shell"],
17            "secon" : "u:r:nfc_service:s0",
18            "caps" : ["CAP_NET_BIND_SERVICE", "CAP_NET_RAW"],
19            "apl" : "system_basic",
20            "permission" : ["ohos.permission.VIBRATE"]
21        }
22    ]
23}
24