Commit f037fdde authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

applied changes due to ticket:161

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4390
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 383f06a5
...@@ -144,7 +144,7 @@ class MailConverter(Converter): ...@@ -144,7 +144,7 @@ class MailConverter(Converter):
def convertDict(self): def convertDict(self):
self.line = self.sectionDict['cronexpr']+' csbackmail' self.line = self.sectionDict['cronexpr']+' csbackmail'
if self.sectionDict['logging']: if self.sectionDict['logging']:
self.line += ' -l -a' self.line += ' -l'
self.line += ' -H '+self.sectionDict['host']+' -P '+ \ self.line += ' -H '+self.sectionDict['host']+' -P '+ \
self.sectionDict['port']+' -u '+self.sectionDict['username']+' -p ' \ self.sectionDict['port']+' -u '+self.sectionDict['username']+' -p ' \
+ self.sectionDict['password']+' -s '+self.sectionDict['sender'] + self.sectionDict['password']+' -s '+self.sectionDict['sender']
...@@ -159,9 +159,9 @@ class TestConverter(Converter): ...@@ -159,9 +159,9 @@ class TestConverter(Converter):
def convertDict(self): def convertDict(self):
if self.addCronExpr: if self.addCronExpr:
self.line = self.sectionDict['cronexpr']+' ' self.line = self.sectionDict['cronexpr']+' '
self.line += 'csbackchk' self.line += 'csbackchk -L'
if self.sectionDict['logging']: if self.sectionDict['logging']:
self.line += ' -l -a' self.line += ' -l'
if not self.sectionDict['recursive']: if not self.sectionDict['recursive']:
self.line += ' -R' self.line += ' -R'
if self.sectionDict['followlinks']: if self.sectionDict['followlinks']:
...@@ -190,9 +190,9 @@ class BackupConverter(Converter): ...@@ -190,9 +190,9 @@ class BackupConverter(Converter):
copyConv.addCronExpr = False copyConv.addCronExpr = False
copyConv.convert() copyConv.convert()
self.line += str(copyConv)+";" self.line += str(copyConv)+";"
self.line += ' csbackgen' self.line += ' csbackgen -L'
if self.sectionDict['logging']: if self.sectionDict['logging']:
self.line += ' -l -a' self.line += ' -l'
if not self.sectionDict['recursive']: if not self.sectionDict['recursive']:
self.line += ' -R' self.line += ' -R'
if self.sectionDict['followlinks']: if self.sectionDict['followlinks']:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment