From 12a29946721d11dc4f252a317e673c66ed8b9cd8 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 19 Jan 2022 14:17:11 +0200 Subject: [PATCH] Update vu_mtd1_run.py --- NeoBoot/tmpfiles/runpy/vu_mtd1_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NeoBoot/tmpfiles/runpy/vu_mtd1_run.py b/NeoBoot/tmpfiles/runpy/vu_mtd1_run.py index 9b06835..223aba7 100644 --- a/NeoBoot/tmpfiles/runpy/vu_mtd1_run.py +++ b/NeoBoot/tmpfiles/runpy/vu_mtd1_run.py @@ -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)