mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
(tinc) hook in xmlrpc sync
This commit is contained in:
parent
ae7b41b2a7
commit
542dd642d3
1 changed files with 10 additions and 0 deletions
|
|
@ -97,3 +97,13 @@ function tinc_interfaces()
|
|||
|
||||
return $interfaces;
|
||||
}
|
||||
|
||||
function tinc_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
$result['id'] = 'tincvpn';
|
||||
$result['section'] = 'OPNsense.Tinc';
|
||||
$result['description'] = 'Tinc VPN';
|
||||
$result['help'] = gettext('Synchronize Tinc VPN settings to backup');
|
||||
return array($result);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue