From 308812ef31bef42a4537773aa422c2353a8050df Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 15 Dec 2021 11:19:24 +0200 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index f2c09a2..189ea3f 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -1268,7 +1268,8 @@ class CheckInstall(Screen): self.myClose(_('Sorry, Neoboot can be installed or upgraded only when booted from Flash')) def neocheck2(self): - os.system(_('rm -f ' + LinkNeoBoot + '/files/modulecheck; echo %s - %s > ' + LinkNeoBoot + '/files/modulecheck') % (getBoxModelVU(), getCPUSoC())) + os.system(_('rm -f ' + LinkNeoBoot + '/files/modulecheck; echo %s - %s > ' + LinkNeoBoot + '/files/modulecheck') % (getBoxHostName(), getCPUSoC())) + os.system('echo "Devices:" >> ' + LinkNeoBoot + '/files/modulecheck; cat /sys/block/sd*/device/vendor | sed "s/ *$//" >> ' + LinkNeoBoot + '/files/modulecheck; cat /sys/block/sd*/device/model | sed "s/ *$//" >> ' + LinkNeoBoot + '/files/modulecheck') os.system('echo "\n====================================================>\nCheck result:" >> ' + LinkNeoBoot + '/files/modulecheck') os.system('echo "* neoboot location:" >> ' + LinkNeoBoot + '/files/modulecheck; cat "/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location" >> ' + LinkNeoBoot + '/files/modulecheck') os.system('echo "\n* neoboot location install:" >> ' + LinkNeoBoot + '/files/modulecheck; cat "/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/bin/install" >> ' + LinkNeoBoot + '/files/modulecheck')