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:
@@ -756,15 +756,16 @@ class NeoBootImageChoose(Screen):
|
|||||||
self['label21'] = Label('VIP: On')
|
self['label21'] = Label('VIP: On')
|
||||||
else:
|
else:
|
||||||
self['label21'] = Label('VIP: Off')
|
self['label21'] = Label('VIP: Off')
|
||||||
if getCheckActivateVip() != getBoxMacAddres() and not fileExists('/.multinfo'):
|
if not fileExists('/etc/vtiversion.info') and not fileExists('/.multinfo'):
|
||||||
self['label22'] = Label(_('Ethernet MAC not found.'))
|
if getCheckActivateVip() != getBoxMacAddres():
|
||||||
if not fileExists('/usr/lib/periodon/.kodn') and not fileExists('/.multinfo'):
|
self['label22'] = Label(_('Ethernet MAC not found.'))
|
||||||
self['label22'] = Label(_('PRESS VIP PIN CODE NOW: xxxx'))
|
if not fileExists('/usr/lib/periodon/.kodn'):
|
||||||
if getTestToTest() != UPDATEVERSION and not fileExists('/.multinfo'):
|
self['label22'] = Label(_('PRESS VIP PIN CODE NOW: xxxx'))
|
||||||
self['label23'] = Label(_('Update ' + getTestToTest() + ' is available.'))
|
if getTestToTest() != UPDATEVERSION :
|
||||||
else:
|
self['label23'] = Label(_('Update ' + getTestToTest() + ' is available.'))
|
||||||
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn') and getTestToTest() == UPDATEVERSION :
|
else:
|
||||||
self['label24'] = Label(_('CPU: ' + getCPUtype() + ' ' + getChipSetString() + ''))
|
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn') and getTestToTest() == UPDATEVERSION :
|
||||||
|
self['label24'] = Label(_('CPU: ' + getCPUtype() + ' ' + getChipSetString() + ''))
|
||||||
self['actions'] = ActionMap(['WizardActions',
|
self['actions'] = ActionMap(['WizardActions',
|
||||||
'ColorActions',
|
'ColorActions',
|
||||||
'MenuActions',
|
'MenuActions',
|
||||||
|
|||||||
Reference in New Issue
Block a user