1{ 2 "import" : [ 3 "init.${ohos.boot.hardware}.usb.cfg" 4 ], 5 "jobs" : [{ 6 "name" : "pre-init", 7 "cmds" : [ 8 "write /proc/sys/vm/min_free_kbytes 10240" 9 ] 10 }, { 11 "name" : "init", 12 "cmds" : [ 13 "write /proc/1/oom_score_adj -1000", 14 "mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755", 15 "write /sys/kernel/debug/hisi_inno_phy/role peripheral", 16 "write /proc/sys/kernel/hung_task_timeout_secs 90", 17 "write /sys/kernel/hungtask/enable on", 18 "write /sys/kernel/hungtask/monitorlist whitelist,init,appspawn", 19 "chown system system /sys/kernel/hungtask/userlist" 20 ] 21 }, { 22 "name" : "boot", 23 "cmds" : [ 24 "chmod 777 /dev/ttyAMA2", 25 "chmod 775 /sys/class/rfkill/rfkill0/state", 26 "chmod 777 /dev/rtkbt_dev", 27 "chmod 0440 /proc/interrupts", 28 "chmod 0440 /proc/stat", 29 "chmod 0640 /dev/xt_qtaguid", 30 "chmod 0660 /proc/net/xt_qtaguid/ctrl", 31 "chmod 0440 /proc/net/xt_qtaguid/stats", 32 "chmod 666 /dev/mali0", 33 "chown system graphics /dev/mali0", 34 "chown system graphics /dev/graphics/fb0", 35 "chmod 666 /dev/ion", 36 "chown system system /dev/ion", 37 "chmod 666 /dev/sched_rtg_ctrl", 38 "chown system system /dev/sched_rtg_ctrl", 39 "start ispserver" 40 ] 41 }, { 42 "name" : "post-fs-data", 43 "cmds" : [ 44 "restorecon" 45 ] 46 } 47 ], 48 "services" : [{ 49 "name" : "ispserver", 50 "path" : ["/vendor/bin/ispserver"], 51 "once" : 1 52 } 53 ] 54} 55