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