1 |
wellsi |
1.1 |
diff -ruN e-smith-backup-2.4.0.old/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar |
2 |
|
|
--- e-smith-backup-2.4.0.old/root/etc/e-smith/events/actions/workstation-backup-dar 2013-12-12 20:10:11.000000000 -0800 |
3 |
|
|
+++ e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar 2013-12-12 20:12:58.000000000 -0800 |
4 |
|
|
@@ -73,7 +73,7 @@ |
5 |
|
|
my $password = $backupwk->prop('Password'); |
6 |
|
|
my $setsmax = $backupwk->prop('SetsMax') || 1; |
7 |
|
|
my $daysinset = $backupwk->prop('DaysInSet') || 1; |
8 |
|
|
-my $setnum = $backupwk->prop('SetNum'); $setnum = ($setsmax-1) unless defined $setnum; |
9 |
|
|
+my $setnum = $backupwk->prop('SetNum'); $setnum = $setsmax unless defined $setnum; |
10 |
|
|
my $incnum = $backupwk->prop('IncNum'); $incnum = ($daysinset-1) unless defined $incnum; |
11 |
|
|
my $timeout = (($backupwk->prop('Timeout') * 3600) - 30) || '88500'; |
12 |
|
|
my $inconly = $backupwk->prop('IncOnlyTimeout') || 'no'; |
13 |
|
|
@@ -139,8 +139,8 @@ |
14 |
|
|
($fullday == 7 && $incnum >= $daysinset); |
15 |
|
|
if ($incnum == 0) |
16 |
|
|
{ |
17 |
|
|
- ++$setnum; |
18 |
|
|
$setnum %= $setsmax; |
19 |
|
|
+ ++$setnum; |
20 |
|
|
} |
21 |
|
|
|
22 |
|
|
# if no set directory, make it |