/usr/share/zentyal/stubs/network/ddclient.conf.mas is in zentyal-network 2.3.13+quantal1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | <%args>
$login
$password
$hostname
$serviceData
$server
@gws
$cmd
</%args>
<%init>
my $protocol = $serviceData->{protocol};
my $use = $serviceData->{use};
</%init>
# /etc/ddclient.conf
# Default global variables
pid=/var/run/ddclient.pid
ssl=yes
login=<% $login %>
password='<% $password %>'
protocol=<% $protocol %>
server=<% $server %>
% if ( scalar(@gws) == 0 ) {
% if ($use eq 'web') {
use=web, web=<% $serviceData->{web} %>, web-skip='<% $serviceData->{web_skip} %>'
% } elsif ($use eq 'if') {
use=if, if=<% $serviceData->{iface} %>
% } elsif ($use eq 'linksys') {
use=linksys, fw=<% $serviceData->{fw} %>, fw-login=<% $serviceData->{fw_login} %>, fw-password=<% $serviceData->fw_password %>
% } elsif ($use eq 'fw') {
use=linksys, fw=<% $serviceData->{fw} %>, fw-skip=<% $serviceData->{fw_skip} %>
% }
<% $hostname %>
% } else {
% foreach my $gw (@gws) {
% my $gwName = $gw->{gw};
% my $domain = $gw->{domain};
use=cmd, cmd='<% "$cmd $gwName" %>' <% "${domain}.$hostname" %>
% }
% }
|