• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# /system/bin/init.radio.sh
2type init_radio, domain;
3type init_radio_exec, exec_type, file_type;
4
5init_daemon_domain(init_radio)
6
7# copy files from /firmware to /data/misc/radio
8allow init_radio toolbox_exec:file rx_file_perms;
9allow init_radio shell_exec:file rx_file_perms;
10allow init_radio radio_data_file:file w_file_perms;
11allow init_radio firmware_file:dir r_dir_perms;
12allow init_radio firmware_file:file r_file_perms;
13allow init_radio radio_data_file:dir create_dir_perms;
14allow init_radio radio_data_file:file create_file_perms;
15allow init_radio self:capability chown;
16