Update plugin.py

This commit is contained in:
gutosie
2021-12-31 18:46:18 +02:00
committed by GitHub
parent 5e1b8a63a4
commit 466769db73

View File

@@ -681,7 +681,7 @@ class NeoBootInstallation(Screen):
#vuplus stb mtd2 #vuplus stb mtd2
#blokada dla mips #blokada dla mips
eif fileExists('/gutosie'): elif fileExists('/gutosie'):
#elif getBoxHostName() == 'vusolo2' or getBoxHostName() == 'vuduo2' or getBoxHostName() == 'vusolose' or getBoxHostName() == 'vuzero': #elif getBoxHostName() == 'vusolo2' or getBoxHostName() == 'vuduo2' or getBoxHostName() == 'vusolose' or getBoxHostName() == 'vuzero':
if fileExists('/usr/sbin/nanddump'): if fileExists('/usr/sbin/nanddump'):
os.system('cd ' + getNeoLocation() + 'ImagesUpload/.kernel/; /usr/sbin/nanddump /dev/mtd2 --omitoob -f vmlinux.gz /dev/mtd2; mv ./vmlinux.gz ./' + getBoxHostName() + '.vmlinux.gz') os.system('cd ' + getNeoLocation() + 'ImagesUpload/.kernel/; /usr/sbin/nanddump /dev/mtd2 --omitoob -f vmlinux.gz /dev/mtd2; mv ./vmlinux.gz ./' + getBoxHostName() + '.vmlinux.gz')