diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-10-13 11:54:45 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-10-13 11:54:45 +0000 |
| commit | 10d4bf75934081d097b5e5ccde535d2b47efb2de (patch) | |
| tree | 4d19e8c56dbaaf9ebe147cb1481e38cb0448144d | |
| parent | 10222309ef422bc121db5fa25edeac16dccd12f2 (diff) | |
| download | enigma2-10d4bf75934081d097b5e5ccde535d2b47efb2de.tar.gz enigma2-10d4bf75934081d097b5e5ccde535d2b47efb2de.zip | |
use "killall -9" instead of "killall" to apply restored settings
| -rw-r--r-- | data/imagewizard.xml | 2 | ||||
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py | 2 |
2 files changed, 2 insertions, 2 deletions
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 </code> </step> 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() |
