fix crash
This commit is contained in:
		| @@ -131,7 +131,7 @@ class StartImage(Screen): | ||||
|                                 elif fileExists('/.multinfo'):     | ||||
|                                     if not fileExists('%sImageBoot/%s/boot/%s.vmlinux.gz' % ( getNeoLocation(), getImageNeoBoot(), getBoxHostName())): | ||||
|                                         cmd = 'flash_eraseall /dev/mtd2; sleep 2; nandwrite -p /dev/mtd2 %sImagesUpload/.kernel/%s.vmlinux.gz; /etc/init.d/reboot' % getNeoLocation(), getBoxHostName() | ||||
|                                     elif fileExists('%sImageBoot/%s/boot/%s.vmlinux.gz' % ( getImageNeoBoot(), getBoxHostName())): | ||||
|                                     elif fileExists('%sImageBoot/%s/boot/%s.vmlinux.gz' % ( getNeoLocation(), getImageNeoBoot(), getBoxHostName())): | ||||
|                                         cmd = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/kernel.sh' | ||||
|  | ||||
|                             self.session.open(Console, _('NeoBoot MIPS....'), [cmd]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user