From: Stefan Pluecken Date: Fri, 13 Oct 2006 11:54:45 +0000 (+0000) Subject: use "killall -9" instead of "killall" to apply restored settings X-Git-Tag: 2.6.0~2916 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/10d4bf75934081d097b5e5ccde535d2b47efb2de use "killall -9" instead of "killall" to apply restored settings --- diff --git a/data/imagewizard.xml b/data/imagewizard.xml index 80943a81..8c40e3f9 100644 --- a/data/imagewizard.xml +++ b/data/imagewizard.xml @@ -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 diff --git a/lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py b/lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py index d0550c3e..c920d25b 100644 --- a/lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py @@ -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()