Chris PeBenito 17de1b
## <summary>Dynamic host configuration protocol (DHCP) server</summary>
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
## <summary>
Chris PeBenito 17de1b
##	Set the attributes of the DCHP
Chris PeBenito 17de1b
##	server state files.
Chris PeBenito 17de1b
## </summary>
Chris PeBenito 17de1b
## <param name="domain">
Chris PeBenito 17de1b
##	<summary>
Chris PeBenito 17de1b
##	Domain allowed access.
Chris PeBenito 17de1b
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
interface(`dhcpd_setattr_state_files',`
Chris PeBenito 17de1b
	gen_require(`
Chris PeBenito 17de1b
		type dhcpd_state_t;
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	sysnet_search_dhcp_state($1)
Chris PeBenito 17de1b
	allow $1 dhcpd_state_t:file setattr;
Chris PeBenito 17de1b
')