mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-07 22:45:47 +01:00
Update plugin.py
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
#--------------------------------------------- NEOBOOT ---------------------------------------------#
|
#--------------------------------------------- NEOBOOT ---------------------------------------------#
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from . import _
|
from . import _
|
||||||
from Plugins.Extensions.NeoBoot.files.stbbranding import LogCrashGS, getSupportedTuners, getLabelDisck, getINSTALLNeo, getNeoLocation, getLocationMultiboot, getNeoMount, getNeoMount2, getNeoMount3, getNeoMount4, getNeoMount5, getFSTAB, getFSTAB2, getKernelVersionString, getKernelImageVersion, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getTunerModel, getImageDistroN, getFormat, getNEO_filesystems, getBoxModelVU, getMountPointAll, getMountPointNeo
|
from Plugins.Extensions.NeoBoot.files.stbbranding import LogCrashGS, getSupportedTuners, getLabelDisck, getINSTALLNeo, getNeoLocation, getLocationMultiboot, getNeoMount, getNeoMount2, getNeoMount3, getNeoMount4, getNeoMount5, getFSTAB, getFSTAB2, getKernelVersionString, getKernelImageVersion, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getTunerModel, getImageDistroN, getFormat, getNEO_filesystems, getBoxModelVU, getMountPointAll, getMountPointNeo, getCheckActivateVip, getBoxMacAddres
|
||||||
from Plugins.Extensions.NeoBoot.files import Harddisk
|
from Plugins.Extensions.NeoBoot.files import Harddisk
|
||||||
from Components.About import about
|
from Components.About import about
|
||||||
from enigma import getDesktop, eTimer
|
from enigma import getDesktop, eTimer
|
||||||
@@ -1661,7 +1661,7 @@ def main(session, **kwargs):
|
|||||||
f2 = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'r')
|
f2 = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'r')
|
||||||
mypath2 = f2.readline().strip()
|
mypath2 = f2.readline().strip()
|
||||||
f2.close()
|
f2.close()
|
||||||
if mypath2 != 'Flash' or mypath2 == 'Flash' and checkimage():
|
if mypath2 != 'Flash' or mypath2 == 'Flash' and checkimage() and getCheckActivateVip() == getBoxMacAddres():
|
||||||
|
|
||||||
if fileExists('/.multinfo') or fileExists('/usr/lib/periodon/.fullaccess'):
|
if fileExists('/.multinfo') or fileExists('/usr/lib/periodon/.fullaccess'):
|
||||||
session.open(NeoBootImageChoose)
|
session.open(NeoBootImageChoose)
|
||||||
|
|||||||
Reference in New Issue
Block a user