21 lines
432 B
Plaintext
21 lines
432 B
Plaintext
## <summary>Update dynamic IP address at DynDNS.org</summary>
|
|
|
|
#######################################
|
|
## <summary>
|
|
## Execute ddclient in the ddclient domain.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`ddclient_domtrans',`
|
|
gen_require(`
|
|
type ddclient_t, ddclient_exec_t;
|
|
')
|
|
|
|
corecmd_search_bin($1)
|
|
domtrans_pattern($1, ddclient_exec_t, ddclient_t)
|
|
')
|