mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 12:45:47 +01:00
Update tools.py
This commit is contained in:
@@ -2001,6 +2001,9 @@ class ReinstallKernel(Screen):
|
|||||||
self.kernel_update()
|
self.kernel_update()
|
||||||
|
|
||||||
def kernel_update(self):
|
def kernel_update(self):
|
||||||
|
if not fileCheck('' + LinkNeoBoot + '/.location') and not fileCheck(' ' + getNeoLocation() + 'ImageBoot/.neonextboot'):
|
||||||
|
pass
|
||||||
|
else:
|
||||||
os.system('echo "Flash " > ' + getNeoLocation() + 'ImageBoot/.neonextboot')
|
os.system('echo "Flash " > ' + getNeoLocation() + 'ImageBoot/.neonextboot')
|
||||||
out = open('' + getNeoLocation() + 'ImagesUpload/.kernel/used_flash_kernel', 'w')
|
out = open('' + getNeoLocation() + 'ImagesUpload/.kernel/used_flash_kernel', 'w')
|
||||||
out.write('Used Kernel: Flash')
|
out.write('Used Kernel: Flash')
|
||||||
|
|||||||
Reference in New Issue
Block a user