use "killall -9" instead of "killall" to apply restored settings
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 13 Oct 2006 11:54:45 +0000 (11:54 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 13 Oct 2006 11:54:45 +0000 (11:54 +0000)
data/imagewizard.xml
lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py

index 80943a8..8c40e3f 100644 (file)
@@ -115,7 +115,7 @@ import os
 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>
                
index d0550c3..c920d25 100644 (file)
@@ -213,7 +213,7 @@ class RestoreMenu(Screen):
        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()