{ "jobs" : [{ "name" : "pre-init", "cmds" : [ "mkdir /storage/data/log", "chmod 0755 /storage/data/log", "chown 4 4 /storage/data/log", "mkdir /storage/data/softbus", "chmod 0700 /storage/data/softbus", "chown 7 7 /storage/data/softbus", "mkdir /storage/data/device_attest", "chmod 0755 /storage/data/device_attest", "chown 20 20 /storage/data/device_attest", "mkdir /sdcard", "chmod 0777 /sdcard", "chmod 0666 /dev/lite_ipc", "mount vfat /dev/mmcblk0 /sdcard rw,umask=000", "mount vfat /dev/mmcblk1 /sdcard rw,umask=000", "export LD_LIBRARY_PATH /storage/app/libs", "start foundation", "start bundle_daemon", "start appspawn", "start media_server", "start wms_server", "start shell" ] }, { "name" : "init", "cmds" : [ "start apphilogcat", "start hiview", "start deviceauth_service", "start sensor_service", "start ai_server", "start softbus_server", "start devattest_service" ] }, { "name" : "post-init", "cmds" : [ "chown 0 99 /dev/hdf", "chown 0 99 /dev/hdf/dev_mgr", "chown 0 99 /dev/hdf/hdfwifi", "chown 0 99 /dev/gpio", "chown 0 99 /dev/hdf/hdf_sensor_manager_ap", "chown 0 99 /dev/i2c-0", "chown 0 99 /dev/i2c-1", "chown 0 99 /dev/i2c-2", "chown 0 99 /dev/i2c-3", "chown 0 99 /dev/i2c-4", "chown 0 99 /dev/i2c-5", "chown 0 99 /dev/i2c-6", "chown 0 99 /dev/i2c-7", "chown 0 99 /dev/uartdev-0", "chown 0 99 /dev/uartdev-1", "chown 0 99 /dev/uartdev-2", "chown 0 99 /dev/uartdev-3", "chown 0 99 /dev/spidev0.0", "chown 0 99 /dev/spidev1.0", "chown 0 99 /dev/spidev2.0", "chown 0 99 /dev/spidev2.1" ] } ], "services" : [{ "name" : "foundation", "path" : ["/bin/foundation"], "uid" : 7, "gid" : 7, "once" : 0, "importance" : 1, "caps" : [10, 11, 12, 13] }, { "name" : "shell", "path" : ["/bin/shell"], "uid" : 2, "gid" : 2, "once" : 0, "importance" : 0, "caps" : [4294967295] }, { "name" : "appspawn", "path" : ["/bin/appspawn"], "uid" : 1, "gid" : 1, "once" : 0, "importance" : 0, "caps" : [2, 6, 7, 8, 11, 23] }, { "name" : "apphilogcat", "path" : ["/bin/apphilogcat", "-L", "auto"], "uid" : 4, "gid" : 4, "once" : 1, "importance" : 0, "caps" : [] }, { "name" : "media_server", "path" : ["/bin/media_server"], "uid" : 0, "gid" : 0, "once" : 1, "importance" : 0, "caps" : [] }, { "name" : "wms_server", "path" : ["/bin/wms_server"], "uid" : 10, "gid" : 10, "once" : 1, "importance" : 0, "caps" : [1,23] }, { "name" : "bundle_daemon", "path" : ["/bin/bundle_daemon"], "uid" : 8, "gid" : 8, "once" : 0, "importance" : 0, "caps" : [0, 1] }, { "name" : "hiview", "path" : ["/bin/hiview"], "uid" : 4, "gid" : 4, "once" : 1, "importance" : 0, "caps" : [] }, { "name" : "sensor_service", "path" : ["/bin/sensor_service"], "uid" : 6, "gid" : 99, "once" : 0, "importance" : 0, "caps" : [] }, { "name" : "ai_server", "path" : ["/bin/ai_server"], "uid" : 2, "gid" : 2, "once" : 0, "importance" : 0, "caps" : [] }, { "name" : "softbus_server", "path" : ["/bin/softbus_server"], "uid" : 0, "gid" : 0, "once" : 0, "importance" : 0, "caps" : [] }, { "name" : "deviceauth_service", "path" : ["/bin/deviceauth_service"], "uid" : 19, "gid" : 7, "once" : 0, "importance" : 0, "caps" : [23] }, { "name" : "devattest_service", "path" : ["/bin/devattest_service"], "uid" : 20, "gid" : 20, "once" : 1, "importance" : 0, "caps" : [1,23] } ] }