Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 91500 | Differences between
and this patch

Collapse All | Expand All

(-)ddclient.old (-1 / +2 lines)
Lines 23-28 Link Here
23
my $now       = time;
23
my $now       = time;
24
my $hostname  = hostname();
24
my $hostname  = hostname();
25
my $etc       = ($program =~ /test/i) ? './'   : '/etc/ddclient/';
25
my $etc       = ($program =~ /test/i) ? './'   : '/etc/ddclient/';
26
my $run       = ($program =~ /test/i) ? './'   : '/var/run/ddclient/';
26
my $savedir   = ($program =~ /test/i) ? 'URL/' : '/tmp/';
27
my $savedir   = ($program =~ /test/i) ? 'URL/' : '/tmp/';
27
my $msgs      = '';
28
my $msgs      = '';
28
my $last_msgs = '';
29
my $last_msgs = '';
Lines 217-223 Link Here
217
    'global-defaults'    => {
218
    'global-defaults'    => {
218
	'daemon'              => setv(T_DELAY, 0, 0, 1, 0,                    interval('60s')),
219
	'daemon'              => setv(T_DELAY, 0, 0, 1, 0,                    interval('60s')),
219
	'file'                => setv(T_FILE,  0, 0, 1, "$etc$program.conf",  undef),
220
	'file'                => setv(T_FILE,  0, 0, 1, "$etc$program.conf",  undef),
220
	'cache'               => setv(T_FILE,  0, 0, 1, "$etc$program.cache", undef),
221
	'cache'               => setv(T_FILE,  0, 0, 1, "$run$program.cache", undef),
221
	'pid'                 => setv(T_FILE,  0, 0, 1, "",                   undef),
222
	'pid'                 => setv(T_FILE,  0, 0, 1, "",                   undef),
222
	'proxy'               => setv(T_FQDNP, 0, 0, 1, '',                   undef),
223
	'proxy'               => setv(T_FQDNP, 0, 0, 1, '',                   undef),
223
	'protocol'            => setv(T_PROTO, 0, 0, 1, 'dyndns2',            undef),
224
	'protocol'            => setv(T_PROTO, 0, 0, 1, 'dyndns2',            undef),

Return to bug 91500