From 1b0bc634d730ff12f3c2463d56f7d7d3112b7d89 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 30 Sep 2020 11:50:32 +0300 Subject: [PATCH] update 9.06 --- NeoBoot/extract.py | 16 ++++++++++------ NeoBoot/plugin.py | 12 +++++------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index cd7bc98..e9bd33c 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -406,13 +406,17 @@ def NEOBootMainEx(source, target, stopenigma, CopyFiles, CopyKernel, TvList, Lan if not os.path.exists('%s/ImageBoot/%s/etc/init.d/rc.local' % (media, target)) and not os.path.exists('%s/ImageBoot/%s/etc/rc.local' % (media, target)) : if os.path.exists('%s/ImageBoot/%s/etc/init.d' % (media, target)): - cmd = 'ln -s %sImageBoot/%s/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/rcS.d/S99neo.local' % (media, - target, - media, - target) +# cmd = 'ln -s %sImageBoot/%s/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/rcS.d/S99neo.local' % (media, +# target, +# media, +# target) + cmd = 'cp -r /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/rcS.d/S99neo.local' % (media, target) + rc = os.system(cmd) + cmd = 'chmod 0755 %s/ImageBoot/%s/etc/rcS.d/S99neo.local' % (media, target) rc = os.system(cmd) elif not os.path.exists('%s/ImageBoot/%s/etc/init.d' % (media, target)): os.system('echo "/etc/init.d not found."') + os.system('echo "Copied file neo_userscript.sh"') if not os.path.exists('' + getNeoLocation() + 'ImageBoot/.without_copying'): if not os.path.exists('%s/ImageBoot/%s/etc/enigma2' % (media, target)): @@ -1144,7 +1148,7 @@ def NEOBootExtract(source, target, ZipDelete, BlackHole): rc = os.system(cmd) else: - os.system('echo "NeoBoot wykryĹ‚ błąd !!! Prawdopodobnie brak ubi_reader lub nandsim."') + os.system('echo "NeoBoot wykrył błąd !!! Prawdopodobnie brak ubi_reader lub nandsim."') #ARM elif getCPUtype() == 'ARMv7': @@ -1374,7 +1378,7 @@ def NEOBootExtract(source, target, ZipDelete, BlackHole): rc = os.system(cmd) else: - os.system('echo "NeoBoot wykryĹ‚ dłąd!!! Prawdopodobnie brak pliku instalacyjnego."') + os.system('echo "NeoBoot wykrył dłąd!!! Prawdopodobnie brak pliku instalacyjnego."') if BlackHole == 'True': diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index dc96529..147ce54 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -4,9 +4,9 @@ # Copyright (c) , gutosie license # # Redystrybucja wersji programu i dokonywania modyfikacji JEST DOZWOLONE, pod warunkiem zachowania niniejszej informacji o prawach autorskich. -# Autor NIE ponosi JAKIEJKOLWIEK odpowiedzialnoĹ›ci za skutki uĹĽtkowania tego programu oraz za wykorzystanie zawartych tu informacji. +# Autor NIE ponosi JAKIEJKOLWIEK odpowiedzialności za skutki użtkowania tego programu oraz za wykorzystanie zawartych tu informacji. # Modyfikacje przeprowadzasz na wlasne ryzyko!!! -# O wszelkich zmianach prosze poinformować na http://all-forum.cba.pl w temacie pod nazwa -#[NEOBOOT]#- +# O wszelkich zmianach prosze poinformować na http://all-forum.cba.pl w temacie pod nazwa -#[NEOBOOT]#- # This text/program is free document/software. Redistribution and use in # source and binary forms, with or without modification, ARE PERMITTED provided @@ -50,8 +50,8 @@ if fileExists('/etc/vtiversion.info') and fileExists('/.multinfo'): else: from files.neoconsole import Console -PLUGINVERSION = '9.02' -UPDATEVERSION = '9.05' +PLUGINVERSION = '9.03' +UPDATEVERSION = '9.06' LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot' try: @@ -802,7 +802,7 @@ class NeoBootImageChoose(Screen): if not fileExists('/.control_ok'): if fileExists('/.control_boot_new_image'): - os.system('/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh; rm -f /.control_boot_new_image; echo "Image uruchomione OK\nNie kasuj tego pliku. \n\nImage started OK\nDo not delete this file." > /.control_ok ') + os.system('rm -f /.control_boot_new_image; echo "Image uruchomione OK\nNie kasuj tego pliku. \n\nImage started OK\nDo not delete this file." > /.control_ok ') if not fileExists('/.control_boot_new_image'): os.system('echo "Image uruchomione OK\nNie kasuj tego pliku. \n\nImage started OK\nDo not delete this file." > /.control_ok') @@ -1464,5 +1464,3 @@ def Plugins(**kwargs): return [PluginDescriptor(name='NeoBoot', description='NeoBoot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='NeoBoot', description=_('Installing multiple images'), icon='neo.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)] ####################### _(-_-)_ gutosie _(-_-)_ ####################### - -