1# hostapd or equivalent
2type hal_wifi_hostapd_default, domain;
3hal_server_domain(hal_wifi_hostapd_default, hal_wifi_hostapd)
4type hal_wifi_hostapd_default_exec, exec_type, vendor_file_type, file_type;
5init_daemon_domain(hal_wifi_hostapd_default)
6
7net_domain(hal_wifi_hostapd_default)
8
9# Allow hostapd to access it's data folder
10allow hal_wifi_hostapd_default hostapd_data_file:dir create_dir_perms;
11allow hal_wifi_hostapd_default hostapd_data_file:file create_file_perms;
12allow hal_wifi_hostapd_default hostapd_data_file:sock_file create_file_perms;
13