diff --git a/NeoBoot/files/devices.py b/NeoBoot/files/devices.py index 867cdd9..84a129c 100644 --- a/NeoBoot/files/devices.py +++ b/NeoBoot/files/devices.py @@ -364,9 +364,7 @@ class DevicesConf(Screen, ConfigListScreen): if des != '' and self.list.append(res): pass - def saveMypoints(self): - system('mount media -a') - system('cp -r -f /etc/fstab /etc/fstab.org') + def saveMypoints(self): self.Console = Console() mycheck = False for x in self['config'].list: @@ -418,7 +416,7 @@ class DevicesConf(Screen, ConfigListScreen): line = self.device_uuid + '\t' + self.mountp + '\t' + self.device_type + '\tdefaults\t0 0\n' out.write(line) out.close() - #system('cp -r -f /etc/fstab /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files') + self.device_uuid2 = result.split('UUID=')[1].split(' ')[0].replace('"', '') if fileExists('/usr/lib/enigma2/python/Plugins/SystemPlugins/DeviceManager2'): out1 = open('/etc/devicemanager.cfg', 'a')