mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 04:35:47 +01:00
Update plugin.py
This commit is contained in:
@@ -752,6 +752,8 @@ class NeoBootImageChoose(Screen):
|
|||||||
self['label21'] = Label('Off - VIP')
|
self['label21'] = Label('Off - VIP')
|
||||||
if getCheckActivateVip() == getBoxMacAddres():
|
if getCheckActivateVip() == getBoxMacAddres():
|
||||||
pass
|
pass
|
||||||
|
elif getCheckActivateVip() != getBoxMacAddres():
|
||||||
|
self['label22'] = Label('Ethernet MAC not found !')
|
||||||
elif not fileExists('/usr/lib/periodon/.kodn'):
|
elif not fileExists('/usr/lib/periodon/.kodn'):
|
||||||
self['label22'] = Label('PRESS VIP PIN CODE NOW: xxxx')
|
self['label22'] = Label('PRESS VIP PIN CODE NOW: xxxx')
|
||||||
self['actions'] = ActionMap(['WizardActions',
|
self['actions'] = ActionMap(['WizardActions',
|
||||||
@@ -1518,7 +1520,9 @@ class NeoBootImageChoose(Screen):
|
|||||||
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
|
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
|
||||||
|
|
||||||
def bootIMG(self):
|
def bootIMG(self):
|
||||||
if not fileExists('/.multinfo'):
|
if getCheckActivateVip() == getBoxMacAddres():
|
||||||
|
self.bootIMG2()
|
||||||
|
elif not fileExists('/.multinfo'):
|
||||||
if ('1234%s' % getTestToTest()) == getAccessN():
|
if ('1234%s' % getTestToTest()) == getAccessN():
|
||||||
self.bootIMG2()
|
self.bootIMG2()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user