mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-27 02:30:04 +01:00
Update neoreboot
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user