mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-07 14:35:48 +01:00
Update plugin.py
This commit is contained in:
@@ -747,16 +747,14 @@ class NeoBootImageChoose(Screen):
|
|||||||
self['label18'] = Label('')
|
self['label18'] = Label('')
|
||||||
self['label19'] = Label('')
|
self['label19'] = Label('')
|
||||||
self['label20'] = Label('')
|
self['label20'] = Label('')
|
||||||
if fileExists('/usr/lib/periodon/.kodn'):
|
|
||||||
self['label21'] = Label('On - VIP')
|
|
||||||
else:
|
|
||||||
self['label21'] = Label('Off - VIP')
|
|
||||||
if getCheckActivateVip() == getBoxMacAddres():
|
if getCheckActivateVip() == getBoxMacAddres():
|
||||||
pass
|
self['label21'] = Label('VIP: On')
|
||||||
elif getCheckActivateVip() != getBoxMacAddres():
|
else:
|
||||||
|
self['label21'] = Label('VIP: Off')
|
||||||
|
if getCheckActivateVip() != getBoxMacAddres():
|
||||||
self['label22'] = Label('Ethernet MAC not found !')
|
self['label22'] = Label('Ethernet MAC not found !')
|
||||||
elif not fileExists('/usr/lib/periodon/.kodn'):
|
if 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',
|
||||||
'ColorActions',
|
'ColorActions',
|
||||||
'MenuActions',
|
'MenuActions',
|
||||||
|
|||||||
Reference in New Issue
Block a user