From fddb30b5e7d6dfb73f826a9543d2f610cd5748b9 Mon Sep 17 00:00:00 2001 From: gutosie Date: Tue, 3 Jan 2023 18:35:33 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index 79bc710..5c55207 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -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: