1# /system/bin/init.elabel.sh
2#
3# write data from /persist/elabel to /data/misc/elabel for use by
4# settings app
5#
6init_daemon_domain(init_elabel)
7
8allow init_elabel shell_exec:file rx_file_perms;
9allow init_elabel toolbox_exec:file rx_file_perms;
10
11allow init_elabel elabel_data_file:dir rw_dir_perms;
12allow init_elabel elabel_data_file:file create_file_perms;
13