update 9.06

This commit is contained in:
gutosie
2020-09-30 11:50:32 +03:00
committed by GitHub
parent 9a733ffe1f
commit 1b0bc634d7
2 changed files with 15 additions and 13 deletions

View File

@@ -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':

View File

@@ -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 _(-_-)_ #######################