mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-10-30 19:05:48 +01:00 
			
		
		
		
	Update extract.py
This commit is contained in:
		| @@ -1084,13 +1084,9 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim): | |||||||
|  |  | ||||||
|             if '.tar.xz' not in source and not os.path.exists('%s/ImageBoot/%s/etc/issue' % (media, target)): |             if '.tar.xz' not in source and not os.path.exists('%s/ImageBoot/%s/etc/issue' % (media, target)): | ||||||
|                 os.system("echo 3 > /proc/sys/vm/drop_caches") |                 os.system("echo 3 > /proc/sys/vm/drop_caches") | ||||||
|  |  | ||||||
|                 os.system('echo ""; echo "Nie zainstalowano systemu ! Powodem b\xc5\x82\xc4\x99du instalacji mo\xc5\xbce by\xc4\x87 kernel-module-nandsim."') |                 os.system('echo ""; echo "Nie zainstalowano systemu ! Powodem b\xc5\x82\xc4\x99du instalacji mo\xc5\xbce by\xc4\x87 kernel-module-nandsim."') | ||||||
|                 os.system('echo "By uzyc innego narzedzia do rozpakowania image, ponow instalacje image jeszcze raz po restarcie tunera."') |                 os.system('echo "By uzyc innego narzedzia do rozpakowania image, ponow instalacje image jeszcze raz po restarcie tunera."') | ||||||
|                 os.system('echo "RESTART ZA 15 sekund..."') |                 os.system('echo "RESTART ZA 15 sekund..."') | ||||||
|  |  | ||||||
|                 rc = os.system('rm -rf /lib/modules/%s/kernel/drivers/mtd/nand/nandsim.ko ' % getKernelVersion()) |  | ||||||
|  |  | ||||||
|                 os.system('rm -r %s/ImageBoot/%s' % (media, target)) |                 os.system('rm -r %s/ImageBoot/%s' % (media, target)) | ||||||
|                 os.system('sleep 5; init 4; sleep 5; init 3 ') |                 os.system('sleep 5; init 4; sleep 5; init 3 ') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user