1type init-qcom-devstart-sh, domain;
2type init-qcom-devstart-sh_exec, exec_type, file_type;
3
4init_daemon_domain(init-qcom-devstart-sh)
5
6allow init-qcom-devstart-sh shell_exec:file rx_file_perms;
7
8# execute toybox/toolbox
9allow init-qcom-devstart-sh toolbox_exec:file rx_file_perms;
10
11# Set the sys.qcom.devup property
12set_prop(init-qcom-devstart-sh, system_prop)
13
14# Set boot_adsp and boot_slpi to 1
15allow init-qcom-devstart-sh sysfs_msm_subsys:file w_file_perms;
16