mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-31 19:35:48 +01:00
Add files via upload
This commit is contained in:
@@ -84,14 +84,14 @@ def NEOBootR(source, target, stopenigma, CopyFiles, CopyKernel, TvList, LanWlan,
|
|||||||
for command in list_one:
|
for command in list_one:
|
||||||
os.system(command)
|
os.system(command)
|
||||||
|
|
||||||
if stopenigma == 'True':
|
|
||||||
os.system('echo "All system processes have been stopped,\n please wait, after the installation is completed, E2 will restart..."')
|
|
||||||
os.system('touch /tmp/init4; init 4')
|
|
||||||
|
|
||||||
rc = NEOBootExtract(source, target, ZipDelete, BlackHole)
|
rc = NEOBootExtract(source, target, ZipDelete, BlackHole)
|
||||||
|
|
||||||
os.system('sync; echo 1 > /proc/sys/vm/drop_caches')
|
os.system('sync; echo 1 > /proc/sys/vm/drop_caches')
|
||||||
|
|
||||||
|
if stopenigma == 'True':
|
||||||
|
os.system('echo "All system processes have been stopped,\n please wait, after the installation is completed, E2 will restart..."')
|
||||||
|
os.system('rm /tmp/init4; touch /tmp/init4; init 4')
|
||||||
|
|
||||||
if not os.path.exists('%s/ImageBoot/%s/usr/lib/enigma2/python/Plugins/Extensions' % (media, target)):
|
if not os.path.exists('%s/ImageBoot/%s/usr/lib/enigma2/python/Plugins/Extensions' % (media, target)):
|
||||||
os.system('mkdir -p %s/ImageBoot/%s/usr/lib/' % (media, target))
|
os.system('mkdir -p %s/ImageBoot/%s/usr/lib/' % (media, target))
|
||||||
os.system('mkdir -p %s/ImageBoot/%s/usr/lib/enigma2' % (media, target))
|
os.system('mkdir -p %s/ImageBoot/%s/usr/lib/enigma2' % (media, target))
|
||||||
|
|||||||
3205
NeoBoot/plugin.py
3205
NeoBoot/plugin.py
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user