mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 12:45:47 +01:00
Update plugin.py
This commit is contained in:
@@ -815,7 +815,9 @@ class NeoBootImageChoose(Screen):
|
||||
self['label11'] = Label('')
|
||||
self['label12'] = Label('')
|
||||
self['label13'] = Label(_('Version update: '))
|
||||
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
|
||||
if fileExists('/.multinfo') and getImageNeoBoot() != "Flash":
|
||||
self['label14'] = Label(_('VIP-on NeoBoot: '))
|
||||
elif getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
|
||||
self['label14'] = Label(_('VIP-on NeoBoot: '))
|
||||
else:
|
||||
self['label14'] = Label(_('VIP-off NeoBoot: '))
|
||||
@@ -825,7 +827,9 @@ class NeoBootImageChoose(Screen):
|
||||
self['label18'] = Label('')
|
||||
self['label19'] = Label('')
|
||||
self['label20'] = Label('')
|
||||
if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
|
||||
if fileExists('/.multinfo') and getImageNeoBoot() != "Flash":
|
||||
self['label21'] = Label('VIP-OK!')
|
||||
elif getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'):
|
||||
self['label21'] = Label('VIP-OK!')
|
||||
else:
|
||||
self['label21'] = Label('Enter pin code')
|
||||
|
||||
Reference in New Issue
Block a user