From e100126a839aa035c39ff211c0cd418aae78b894 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sun, 22 Aug 2021 11:46:34 +0300 Subject: [PATCH] Update devices.py --- NeoBoot/files/devices.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NeoBoot/files/devices.py b/NeoBoot/files/devices.py index afe6efe..23f8342 100644 --- a/NeoBoot/files/devices.py +++ b/NeoBoot/files/devices.py @@ -106,8 +106,9 @@ class ManagerDevice(Screen): if fileExists('/.multinfo'): self.session.open(MessageBox, _("This option is available only from Flash"), MessageBox.TYPE_INFO, timeout=10) else: - os.system('rm -f /home/root/*.ipk; opkg download kernel-image; sleep 2; opkg install --force-maintainer --force-reinstall --force-overwrite --force-downgrade /home/root/*.ipk; opkg configure update-modules; rm -f /home/root/*.ipk; sleep 5; reboot -f') - + from Plugins.Extensions.NeoBoot.files.tools import ReinstallKernel + self.session.open(ReinstallKernel) + def setWindowTitle(self): self.setTitle(_('Mount Manager'))