mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-10-27 00:36:05 +01:00
fix crash
This commit is contained in:
@@ -131,7 +131,7 @@ class StartImage(Screen):
|
|||||||
elif fileExists('/.multinfo'):
|
elif fileExists('/.multinfo'):
|
||||||
if not fileExists('%sImageBoot/%s/boot/%s.vmlinux.gz' % ( getNeoLocation(), getImageNeoBoot(), getBoxHostName())):
|
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()
|
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'
|
cmd = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/kernel.sh'
|
||||||
|
|
||||||
self.session.open(Console, _('NeoBoot MIPS....'), [cmd])
|
self.session.open(Console, _('NeoBoot MIPS....'), [cmd])
|
||||||
|
|||||||
Reference in New Issue
Block a user