• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "jobs" : [{
3            "name" : "init",
4            "cmds" : [
5                "mount tmpfs tmpfs /module_update rw nosuid nodev noexec mode=0755",
6                "mkdir /data/module_update_package 0751 update update",
7                "mkdir /data/module_update 0755 update update",
8                "mkdir /data/module_update/active 0755 update update",
9                "mkdir /data/module_update/backup 0700 update update",
10                "start module_update_service"
11            ]
12        }
13    ],
14    "services" : [{
15            "name" : "module_update_service",
16            "path" : ["/system/bin/module_update_service"],
17            "uid" : "update",
18            "gid" : ["update", "system", "root"],
19            "permission" : ["ohos.permission.READ_DFX_SYSEVENT"],
20            "ondemand" : true,
21            "secon" : "u:r:module_update_service:s0",
22            "sandbox" : 0
23        }
24    ]
25}