mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-07 22:45:47 +01:00
Add files via upload
This commit is contained in:
@@ -945,9 +945,17 @@ class NeoBootImageChoose(Screen):
|
|||||||
out = open('/usr/lib/periodon/.kodn', 'w')
|
out = open('/usr/lib/periodon/.kodn', 'w')
|
||||||
out.write('1234%s'% UPDATEVERSION)
|
out.write('1234%s'% UPDATEVERSION)
|
||||||
out.close()
|
out.close()
|
||||||
os.system('rm -f /tmp/gut*')
|
os.system('sleep 2; rm -f /tmp/gut*')
|
||||||
|
if fileExists('/usr/lib/periodon/.accessdate') and fileExists('/usr/lib/periodon/.kodn'):
|
||||||
mess = _('Bravo!!! neoboot full version activated OK!\nPlease restart your system E2.')
|
mess = _('Bravo!!! neoboot full version activated OK!\nPlease restart your system E2.')
|
||||||
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
|
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
|
||||||
|
elif not fileExists('/usr/lib/periodon/.accessdate'):
|
||||||
|
mess = _('VIP Access Activation Fails with Error code 0x10.')
|
||||||
|
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
|
||||||
|
elif not fileExists('/usr/lib/periodon/.kodn'):
|
||||||
|
mess = _('VIP Access Activation Fails with Error code 0x20.')
|
||||||
|
self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
|
||||||
|
|
||||||
def touch8(self):
|
def touch8(self):
|
||||||
if fileExists('/usr/lib/periodon/.kodn'):
|
if fileExists('/usr/lib/periodon/.kodn'):
|
||||||
pass
|
pass
|
||||||
@@ -1526,6 +1534,7 @@ def main(session, **kwargs):
|
|||||||
os.system('echo "\nNeoboot installation errors 3:\nfile neo.sh is error - 3\n" >> /tmp/error_neo')
|
os.system('echo "\nNeoboot installation errors 3:\nfile neo.sh is error - 3\n" >> /tmp/error_neo')
|
||||||
session.open(MessageBox, _('Neoboot plugin installed with ERRORS! Not work properly! The error number is 3'), type=MessageBox.TYPE_ERROR)
|
session.open(MessageBox, _('Neoboot plugin installed with ERRORS! Not work properly! The error number is 3'), type=MessageBox.TYPE_ERROR)
|
||||||
|
|
||||||
|
|
||||||
version = 0
|
version = 0
|
||||||
if fileExists('%sImageBoot/.version' % getNeoLocation()):
|
if fileExists('%sImageBoot/.version' % getNeoLocation()):
|
||||||
f = open('%sImageBoot/.version' % getNeoLocation())
|
f = open('%sImageBoot/.version' % getNeoLocation())
|
||||||
|
|||||||
Reference in New Issue
Block a user