mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-10-26 20:56:05 +01:00
update 9.06
This commit is contained in:
@@ -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 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)):
|
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,
|
# cmd = 'ln -s %sImageBoot/%s/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/userscript.sh %sImageBoot/%s/etc/rcS.d/S99neo.local' % (media,
|
||||||
target,
|
# target,
|
||||||
media,
|
# media,
|
||||||
target)
|
# 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)
|
rc = os.system(cmd)
|
||||||
elif not os.path.exists('%s/ImageBoot/%s/etc/init.d' % (media, target)):
|
elif not os.path.exists('%s/ImageBoot/%s/etc/init.d' % (media, target)):
|
||||||
os.system('echo "/etc/init.d not found."')
|
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('' + getNeoLocation() + 'ImageBoot/.without_copying'):
|
||||||
if not os.path.exists('%s/ImageBoot/%s/etc/enigma2' % (media, target)):
|
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)
|
rc = os.system(cmd)
|
||||||
|
|
||||||
else:
|
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
|
#ARM
|
||||||
elif getCPUtype() == 'ARMv7':
|
elif getCPUtype() == 'ARMv7':
|
||||||
@@ -1374,7 +1378,7 @@ def NEOBootExtract(source, target, ZipDelete, BlackHole):
|
|||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
|
|
||||||
else:
|
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':
|
if BlackHole == 'True':
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
# Copyright (c) , gutosie license
|
# Copyright (c) , gutosie license
|
||||||
#
|
#
|
||||||
# Redystrybucja wersji programu i dokonywania modyfikacji JEST DOZWOLONE, pod warunkiem zachowania niniejszej informacji o prawach autorskich.
|
# 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!!!
|
# 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
|
# This text/program is free document/software. Redistribution and use in
|
||||||
# source and binary forms, with or without modification, ARE PERMITTED provided
|
# source and binary forms, with or without modification, ARE PERMITTED provided
|
||||||
@@ -50,8 +50,8 @@ if fileExists('/etc/vtiversion.info') and fileExists('/.multinfo'):
|
|||||||
else:
|
else:
|
||||||
from files.neoconsole import Console
|
from files.neoconsole import Console
|
||||||
|
|
||||||
PLUGINVERSION = '9.02'
|
PLUGINVERSION = '9.03'
|
||||||
UPDATEVERSION = '9.05'
|
UPDATEVERSION = '9.06'
|
||||||
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@@ -802,7 +802,7 @@ class NeoBootImageChoose(Screen):
|
|||||||
|
|
||||||
if not fileExists('/.control_ok'):
|
if not fileExists('/.control_ok'):
|
||||||
if fileExists('/.control_boot_new_image'):
|
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'):
|
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')
|
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)]
|
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 _(-_-)_ #######################
|
####################### _(-_-)_ gutosie _(-_-)_ #######################
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user