Update neoreboot

This commit is contained in:
gutosie
2021-12-31 20:29:03 +02:00
committed by GitHub
parent 93857cff42
commit 0171381426

View File

@@ -128,8 +128,7 @@ class NBIChoose2(Screen):
from Plugins.Extensions.NeoBoot.run import StartImage
self.session.open(StartImage)
except:
self.session.open(TryQuitMainloop, 2)
self.close()
os.system('reboot -f')
def forceBoot(self):
self.session.open(ForceReboot)
@@ -189,4 +188,4 @@ def Plugins(path, **kwargs):
plugin_path = path
list = [PluginDescriptor(name=_('NeoReboot'), description=_('Force reboot to flash.'), where=PluginDescriptor.WHERE_MENU, fnc=startSetup)]
return list