Chris PeBenito aa8300
## <summary>hddtemp hard disk temperature tool running as a daemon</summary>
Chris PeBenito aa8300
Chris PeBenito aa8300
#######################################
Chris PeBenito aa8300
## <summary>
Chris PeBenito aa8300
##	Execute hddtemp in the hddtemp domain.
Chris PeBenito aa8300
## </summary>
Chris PeBenito aa8300
## <param name="domain">
Chris PeBenito aa8300
##	<summary>
Chris PeBenito aa8300
##	Domain allowed access.
Chris PeBenito aa8300
##	</summary>
Chris PeBenito aa8300
## </param>
Chris PeBenito aa8300
#
Chris PeBenito aa8300
interface(`hddtemp_domtrans',`
Chris PeBenito aa8300
	gen_require(`
Chris PeBenito aa8300
		type hddtemp_t, hddtemp_exec_t;
Chris PeBenito aa8300
	')
Chris PeBenito aa8300
Chris PeBenito aa8300
	corecmd_search_bin($1)
Chris PeBenito aa8300
	domtrans_pattern($1, hddtemp_exec_t, hddtemp_t)
Chris PeBenito aa8300
')
Chris PeBenito aa8300
Chris PeBenito aa8300
######################################
Chris PeBenito aa8300
## <summary>
Chris PeBenito aa8300
##	Execute hddtemp 
Chris PeBenito aa8300
## </summary>
Chris PeBenito aa8300
## <param name="domain">
Chris PeBenito aa8300
##	<summary>
Chris PeBenito aa8300
##	Domain allowed access.
Chris PeBenito aa8300
##	</summary>
Chris PeBenito aa8300
## </param>
Chris PeBenito aa8300
#
Chris PeBenito aa8300
interface(`hddtemp_exec',`
Chris PeBenito aa8300
	gen_require(`
Chris PeBenito aa8300
		type hddtemp_exec_t;
Chris PeBenito aa8300
	')
Chris PeBenito aa8300
Chris PeBenito aa8300
	can_exec($1, hddtemp_exec_t)
Chris PeBenito aa8300
')