mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-10-30 02:45:47 +01:00 
			
		
		
		
	Update mips_run.py
This commit is contained in:
		| @@ -135,7 +135,7 @@ class StartImage(Screen): | |||||||
|                              |                              | ||||||
| def getTurnOffOnSystem():                | def getTurnOffOnSystem():                | ||||||
|         for line in open("/etc/hostname"):                                 |         for line in open("/etc/hostname"):                                 | ||||||
|                         if "dm500hd" in line or "dm800se" in line or "dm800" in line or "dm800se" in line or "dm8000" in line: |                         if "dm500hd" in line or "dm800se" in line or "dm800" in line or "dm8000" in line: | ||||||
|                                 if fileExists('%sImageBoot/%s/squashfs-images' % (getNeoLocation(), getImageNeoBoot())): |                                 if fileExists('%sImageBoot/%s/squashfs-images' % (getNeoLocation(), getImageNeoBoot())): | ||||||
|                                     os.system('ln -sf "%sImageBoot/%s/squashfs-images" "//squashfs-images"' % (getNeoLocation(), getImageNeoBoot())) |                                     os.system('ln -sf "%sImageBoot/%s/squashfs-images" "//squashfs-images"' % (getNeoLocation(), getImageNeoBoot())) | ||||||
|                         os.system('echo 3 > /proc/sys/vm/drop_caches; shutdown -r now & sleep 2 & reboot -d -f &') |                         os.system('echo 3 > /proc/sys/vm/drop_caches; shutdown -r now & sleep 2 & reboot -d -f &') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user