{ "jobs" : [{ "name" : "pre-init", "cmds" : [ "mkdir /storage/data/log", "chmod 0755 /storage/data/log", "chown 4 4 /storage/data/log", "loadcfg /patch/fstab.cfg", "mkdir /storage/data/softbus", "chmod 0700 /storage/data/softbus", "chown 7 7 /storage/data/softbus", "mkdir /sdcard", "chmod 0777 /sdcard", "mount vfat /dev/mmcblk0 /sdcard rw,umask=000", "mount vfat /dev/mmcblk1 /sdcard rw,umask=000", "export LD_LIBRARY_PATH /storage/app/libs" ] }, { "name" : "init", "cmds" : [ "start mksh", "start apphilogcat", "start foundation", "start bundle_daemon", "start appspawn", "start media_server", "start hiview", "start ai_server", "start softbus_server" ] }, { "name" : "post-init", "cmds" : [ "chown 0 99 /dev/hdf/dev_mgr", "chown 0 99 /dev/hdf/hdfwifi", "chown 0 99 /dev/gpio", "chown 0 99 /dev/i2c-0", "chown 0 99 /dev/i2c-1", "chown 0 99 /dev/i2c-2", "chown 0 99 /dev/uartdev-0", "chown 0 99 /dev/uartdev-1", "chown 0 99 /dev/uartdev-2", "chown 0 99 /dev/spidev0.0", "chown 0 99 /dev/spidev1.0", "chown 0 99 /dev/spidev1.1" ] } ], "services" : [{ "name" : "foundation", "path" : ["/bin/foundation"], "uid" : 7, "gid" : 7, "once" : 0, "importance" : 1, "caps" : [10, 11, 12, 13] }, { "name" : "mksh", "path" : ["/bin/shell", "exec", "/bin/mksh"], "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" : 6, "gid" : 6, "once" : 1, "importance" : 0, "caps" : [] }, { "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" : "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" : 1, "importance" : 0, "caps" : [] } ] }