/[smecontribs]/rpms/smeserver-arkeia/contribs7/smeserver-arkeia-1.0-rotateupdate.patch
ViewVC logotype

Diff of /rpms/smeserver-arkeia/contribs7/smeserver-arkeia-1.0-rotateupdate.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by slords, Tue Nov 25 16:47:03 2008 UTC Revision 1.2 by slords, Tue Nov 25 17:08:59 2008 UTC
# Line 22  Line 22 
22    
23   my $daily = $arkeia->prop("Daily") || 0;   my $daily = $arkeia->prop("Daily") || 0;
24   my $weekly = $arkeia->prop("Weekly") || 0;   my $weekly = $arkeia->prop("Weekly") || 0;
25  @@ -52,6 +61,11 @@  @@ -52,6 +61,12 @@
26          }          }
27   }   }
28   exit 0 unless $slot;   exit 0 unless $slot;
# Line 36  Line 36 
36  +    exit 0 if $2 == $slot;  +    exit 0 if $2 == $slot;
37  +    system("$mtxcmd unload $2 $1");  +    system("$mtxcmd unload $2 $1");
38  +}  +}
39    +system("$mtxcmd load $slot") && die("A problem occurred execing mtx\n");


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed