mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-11-01 08:25:47 +01:00
new mount
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user