mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-10-31 19:35:48 +01:00 
			
		
		
		
	Update extract.py
This commit is contained in:
		| @@ -515,19 +515,20 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow | ||||
|                  target, | ||||
|                  media, | ||||
|                  target) | ||||
|                 #cmd = 'cp -af /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/rcS.d/S99neo.local' % (media, target) | ||||
|                 #rc = os.system(cmd) | ||||
|                 #cmd1 = 'chmod 0755 %s/ImageBoot/%s/etc/rcS.d/S99neo.local' % (media, target) | ||||
|                 #rc = os.system(cmd1) | ||||
|                  | ||||
|                 if os.path.exists('%s/ImageBoot/%s/usr/lib/enigma2/python/Plugins/PLi' % (media, target)): | ||||
|                         cmd = 'cp -af /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/init.d/rcS.local' % (media, target) | ||||
|                         rc = os.system(cmd) | ||||
|                         cmd1 = 'chmod 0755 %s/ImageBoot/%s/etc/init.d/rcS.local' % (media, target) | ||||
|                         rc = os.system(cmd1) | ||||
|                 else: | ||||
|                         cmd = 'cp -af /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/init.d/rc.local' % (media, target) | ||||
|                         cmd = 'cp -af /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/rcS.d/rcN.local' % (media, target) | ||||
|                         rc = os.system(cmd) | ||||
|                         cmd1 = 'chmod 0755 %s/ImageBoot/%s/etc/init.d/rc.local' % (media, target) | ||||
|                         cmd1 = 'chmod 0755 %s/ImageBoot/%s/etc/rcS.d/S99neo.local' % (media, target) | ||||
|                         rc = os.system(cmd1) | ||||
|                         #cmd = 'cp -af /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/init.d/rc.local' % (media, target) | ||||
|                         #rc = os.system(cmd) | ||||
|                         #cmd1 = 'chmod 0755 %s/ImageBoot/%s/etc/init.d/rc.local' % (media, target) | ||||
|                         rc = os.system(cmd1) | ||||
|             elif not os.path.exists('%s/ImageBoot/%s/etc/init.d' % (media, target)): | ||||
|                 os.system('echo "/etc/init.d not found."') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user