• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "import" : [
3        "/etc/ueventd.cfg",
4        "/etc/updater_common.cfg",
5        "/etc/init.${ohos.boot.hardware}.usb.cfg"
6    ],
7    "jobs" : [{
8            "name" : "pre-init",
9            "cmds" : [
10                "start ueventd"
11            ]
12        }, {
13            "name" : "init",
14            "cmds" : [
15                "wait /dev/block/platform/fe310000.sdhci/by-name",
16                "symlink /dev/block/platform/fe310000.sdhci/by-name /dev/block/by-name"
17            ]
18        }, {
19            "name" : "post-fs-data",
20            "cmds" : [
21                "exec /system/bin/hilog -w start -n 10 -f updater",
22                "exec /system/bin/hilog -w start -t kmsg -f updater_kmsg"
23            ]
24        }
25    ],
26    "services" : [{
27            "name" : "updater",
28            "path" : ["/bin/updater"],
29            "uid" : 0,
30            "gid" : [0, "update", "input_user_host", "shell", "graphics", "system"],
31            "importance" : 0,
32            "secon" : "u:r:updater:s0",
33            "caps" : [0, 1]
34        }
35    ]
36}
37