This commit is contained in:
gutosie
2021-06-17 11:43:06 +03:00
committed by GitHub
parent 82ce48db29
commit dbd3a526e2

View File

@@ -1323,6 +1323,10 @@ def NEOBootExtract(source, target, ZipDelete):
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/sf4008'):
os.system('echo "Please wait. System installation Octagon SF4008."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/sf4008/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/sf4008/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd)SF8008m
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/octagon/sf8008m'):
os.system('echo "Please wait. System installation Octagon SF8008m."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/octagon/sf8008m/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/octagon/sf8008m/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd)
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/octagon/sf8008'):
os.system('echo "Please wait. System installation Octagon SF8008."')