From c72b0dd6880e3ae58cd425ef0b5fe4a5e056f1dd Mon Sep 17 00:00:00 2001 From: gutosie Date: Thu, 30 Dec 2021 16:49:32 +0200 Subject: [PATCH] Update xtrend_mtd1_run.py --- NeoBoot/tmpfiles/runpy/xtrend_mtd1_run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NeoBoot/tmpfiles/runpy/xtrend_mtd1_run.py b/NeoBoot/tmpfiles/runpy/xtrend_mtd1_run.py index 300d947..e2679be 100644 --- a/NeoBoot/tmpfiles/runpy/xtrend_mtd1_run.py +++ b/NeoBoot/tmpfiles/runpy/xtrend_mtd1_run.py @@ -2,7 +2,7 @@ #Clarke-Tech & Xtrend 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 @@ -91,6 +91,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() #---------------------------------------------