fix start vti vu+ mips

This commit is contained in:
gutosie
2022-10-15 10:27:39 +03:00
committed by GitHub
parent e0b66e154b
commit a2d27b72c6

View File

@@ -127,7 +127,8 @@ class StartImage(Screen):
#################_____mips___##########################
#VUPLUS MIPS vu_dev_mtd1.sh
if "vu" + getBoxVuModel() == getBoxHostName():
if "vu" + getBoxVuModel() == getBoxHostName():
getMmcBlockDevice()
if not fileExists('%sImagesUpload/.kernel/%s.vmlinux.gz' % (getNeoLocation(), getBoxHostName())):
self.myclose2(_('Error - in the location %sImagesUpload/.kernel/ \nkernel file not found flash kernel vmlinux.gz ' % getNeoLocation()))
else:
@@ -207,4 +208,4 @@ class StartImage(Screen):
def myclose2(self, message):
self.session.open(MessageBox, message, MessageBox.TYPE_INFO)
self.close()