mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-29 10:26:05 +01:00
Update plugin.py
This commit is contained in:
@@ -1011,10 +1011,11 @@ class NeoBootImageChoose(Screen):
|
|||||||
|
|
||||||
if not fileExists('/.multinfo'):
|
if not fileExists('/.multinfo'):
|
||||||
system('ln -sfn /sbin/init.sysvinit /sbin/init')
|
system('ln -sfn /sbin/init.sysvinit /sbin/init')
|
||||||
out = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'w')
|
os.system('echo "Flash" > %sImageBoot/.neonextboot' % getNeoLocation() )
|
||||||
out.write('Flash')
|
#out = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'w')
|
||||||
out.close()
|
#out.write('Flash')
|
||||||
self.close()
|
#out.close()
|
||||||
|
#self.close()
|
||||||
|
|
||||||
elif fileExists('/.multinfo'):
|
elif fileExists('/.multinfo'):
|
||||||
with open('/.multinfo', 'r') as f:
|
with open('/.multinfo', 'r') as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user