Update vu_mtd1_run.py

This commit is contained in:
gutosie
2022-01-19 14:17:11 +02:00
committed by GitHub
parent 3f96c4d70e
commit 12a2994672

View File

@@ -143,7 +143,7 @@ class StartImage(Screen):
elif fileExists('/.multinfo'):
if not fileExists('%sImageBoot/%s/boot/%s.vmlinux.gz' % (getNeoLocation(), getImageNeoBoot(), getBoxHostName())):
cmd = 'flash_eraseall /dev/mtd1; sleep 2; ' + LinkNeoBoot + '/bin/nandwrite -p /dev/mtd1 %sImagesUpload/.kernel/%s.vmlinux.gz; reboot -d -f' % (getNeoLocation(), getBoxHostName())
cmd = 'flash_eraseall /dev/mtd1; sleep 2; ' + LinkNeoBoot + '/bin/nandwrite -p /dev/mtd1 %sImagesUpload/.kernel/%s.vmlinux.gz' % (getNeoLocation(), getBoxHostName())
rc = os.system(cmd)
self.session.open(TryQuitMainloop, 2)