From 4fe929f0ffafaaf1e64d6b4864167c3e47f63334 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sun, 5 Dec 2021 07:53:51 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index f7a8be8..16e1f81 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -751,7 +751,9 @@ class NeoBootImageChoose(Screen): else: self['label21'] = Label('Off - VIP') if getCheckActivateVip() == getBoxMacAddres(): - pass + pass + elif getCheckActivateVip() != getBoxMacAddres(): + self['label22'] = Label('Ethernet MAC not found !') elif not fileExists('/usr/lib/periodon/.kodn'): self['label22'] = Label('PRESS VIP PIN CODE NOW: xxxx') self['actions'] = ActionMap(['WizardActions', @@ -1518,7 +1520,9 @@ class NeoBootImageChoose(Screen): self.session.open(MessageBox, mess, MessageBox.TYPE_INFO) def bootIMG(self): - if not fileExists('/.multinfo'): + if getCheckActivateVip() == getBoxMacAddres(): + self.bootIMG2() + elif not fileExists('/.multinfo'): if ('1234%s' % getTestToTest()) == getAccessN(): self.bootIMG2() else: