remove Imagewizard
[enigma2.git] / lib / python / Screens / ImageWizard.py
diff --git a/lib/python/Screens/ImageWizard.py b/lib/python/Screens/ImageWizard.py
deleted file mode 100644 (file)
index faf6120..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-from Wizard import Wizard, wizardManager
-
-from Tools.Directories import fileExists
-
-import os
-
-backupfile = "backupenigma2settings.tar"
-
-def checkConfigBackup():
-       paths = ['/media/hdd/', '/media/cf/']
-       for x in paths:
-               if fileExists(x + backupfile):
-                       return x
-       return None
-
-if checkConfigBackup() is None:
-       backupAvailable = 0
-else:
-       backupAvailable = 1
-
-class ImageWizard(Wizard):
-       def __init__(self, session):
-               self.xmlfile = "imagewizard.xml"
-               Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=True)
-
-       def markDone(self):
-               pass
-
-wizardManager.registerWizard(ImageWizard, backupAvailable, priority = 10)
-
-def doBackup(path):
-       os.system('tar cvpf ' + path + backupfile + ' /etc/enigma2')
-
-def doRestore(path):
-       os.system('cd / && /bin/tar xvpf ' + path + backupfile)
-       
-
-               
\ No newline at end of file