from Screens.ImageWizard import backupfile
print 'mv ' + self.backuppath + backupfile + ' ' + self.backuppath + backupfile + '.old'
os.system('mv ' + self.backuppath + backupfile + ' ' + self.backuppath + backupfile + '.old')
-os.system('killall enigma2') # ugly... no better solution atm
+os.system('killall -9 enigma2') # ugly... no better solution atm
</code>
</step>
def startRestore(self, ret = False):
if (ret == True):
self.exe = True
- self.session.open(Console, title = "Restore running", cmdlist = ["tar -xzvf " + self.path + "/" + self.sel + " -C /", "killall enigma2"])
+ self.session.open(Console, title = "Restore running", cmdlist = ["tar -xzvf " + self.path + "/" + self.sel + " -C /", "killall -9 enigma2"])
def Exit(self):
self.close()