mirror of
				https://mojerepo.cf/NeoBoot/NeoBoot-9.git
				synced 2025-10-31 12:45: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): |         if des != '' and self.list.append(res): | ||||||
|             pass |             pass | ||||||
|  |  | ||||||
|     def saveMypoints(self): |     def saveMypoints(self):        | ||||||
|         system('mount media -a') |  | ||||||
|         system('cp -r -f /etc/fstab /etc/fstab.org')         |  | ||||||
|         self.Console = Console() |         self.Console = Console() | ||||||
|         mycheck = False |         mycheck = False | ||||||
|         for x in self['config'].list: |         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' |             line = self.device_uuid + '\t' + self.mountp + '\t' + self.device_type + '\tdefaults\t0 0\n' | ||||||
|             out.write(line) |             out.write(line) | ||||||
|             out.close() |             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('"', '') |             self.device_uuid2 = result.split('UUID=')[1].split(' ')[0].replace('"', '') | ||||||
|             if fileExists('/usr/lib/enigma2/python/Plugins/SystemPlugins/DeviceManager2'): |             if fileExists('/usr/lib/enigma2/python/Plugins/SystemPlugins/DeviceManager2'): | ||||||
|                 out1 = open('/etc/devicemanager.cfg', 'a') |                 out1 = open('/etc/devicemanager.cfg', 'a') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user