also check devidex2 here
[enigma2.git] / lib / python / Components / Harddisk.py
index 9cf9b4a..404baaf 100644 (file)
@@ -130,7 +130,7 @@ class Harddisk:
                cmd = "/bin/umount"
 
                for line in procfile:
                cmd = "/bin/umount"
 
                for line in procfile:
-                       if line.startswith(self.devidex):
+                       if line.startswith(self.devidex) or line.startswith(self.devidex2):
                                parts = line.split()
                                cmd = ' '.join([cmd, parts[1]])
 
                                parts = line.split()
                                cmd = ' '.join([cmd, parts[1]])