Update vu_mtd2_run.py

This commit is contained in:
gutosie
2021-12-30 16:51:19 +02:00
committed by GitHub
parent 4bab2d020b
commit d8d88b25d5

View File

@@ -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()
#---------------------------------------------