Update plugin.py

This commit is contained in:
gutosie
2023-01-03 18:35:33 +02:00
committed by GitHub
parent 5ae5d85d90
commit fddb30b5e7

View File

@@ -1011,10 +1011,11 @@ class NeoBootImageChoose(Screen):
if not fileExists('/.multinfo'):
system('ln -sfn /sbin/init.sysvinit /sbin/init')
out = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'w')
out.write('Flash')
out.close()
self.close()
os.system('echo "Flash" > %sImageBoot/.neonextboot' % getNeoLocation() )
#out = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'w')
#out.write('Flash')
#out.close()
#self.close()
elif fileExists('/.multinfo'):
with open('/.multinfo', 'r') as f: