From d8d88b25d5df4e01d74d8b915dee670791a5ba3e Mon Sep 17 00:00:00 2001 From: gutosie Date: Thu, 30 Dec 2021 16:51:19 +0200 Subject: [PATCH] Update vu_mtd2_run.py --- NeoBoot/tmpfiles/runpy/vu_mtd2_run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NeoBoot/tmpfiles/runpy/vu_mtd2_run.py b/NeoBoot/tmpfiles/runpy/vu_mtd2_run.py index c4a3a44..ebed472 100644 --- a/NeoBoot/tmpfiles/runpy/vu_mtd2_run.py +++ b/NeoBoot/tmpfiles/runpy/vu_mtd2_run.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from Plugins.Extensions.NeoBoot.__init__ import _ -from Plugins.Extensions.NeoBoot.files.stbbranding import getNeoLocation, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getNeoMount, getNeoMount2, getNeoMount3, getNeoMount4, getNeoMount5, getMountPointNeo2 +from Plugins.Extensions.NeoBoot.files.stbbranding import getNeoLocation, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getNeoMount, getNeoMount2, getNeoMount3, getNeoMount4, getNeoMount5, getMountPointNeo2, getNandWrite from enigma import getDesktop from enigma import eTimer from Screens.Screen import Screen @@ -90,6 +90,9 @@ class StartImage(Screen): else: os.system('rm -rf %sImageBoot/%s/usr/bin/enigma2_pre_start.sh' % (getNeoLocation(), getImageNeoBoot())) self.StartImageInNeoBoot() + + if getNandWrite() == 'nandwrite': + os.system('echo "nandwrite" > /tmp/check_nandwrite') #--------------------------------------------- getMountPointNeo2() #---------------------------------------------