Update plugin.py

This commit is contained in:
gutosie
2021-02-28 14:03:15 +02:00
committed by GitHub
parent f03c219d15
commit 4650de9b5a

View File

@@ -627,7 +627,7 @@ class NeoBootInstallation(Screen):
elif getCPUtype() == 'MIPS':
os.system('cd ' + LinkNeoBoot + '/; mv ./bin/fbclearmips ./bin/fbclear; chmod 755 ./bin/fbclear; rm -f ./bin/fbcleararm; mv ./ubi_reader_mips ./ubi_reader; rm -r ./ubi_reader_arm; rm -f /bin/neoinitarm; rm -f /bin/neoinitarmvu; rm -r ./bin/nanddump_arm; rm -f /bin/neoinitarmvuDuo4k')
if fileExists('' + LinkNeoBoot + '/ubi_reader_*'):
os.system('rm -r ./ubi_reader_* ')
os.system('rm -r ' + LinkNeoBoot + '/ubi_reader_* ')
os.system(' ln -sfn ' + getNeoLocation() + 'ImageBoot/.neonextboot /etc/neoimage; chmod 644 ' + getNeoLocation() + 'ImagesUpload/.kernel/*; ln -sfn ' + getNeoLocation() + 'ImageBoot /etc/imageboot; rm -r ' + LinkNeoBoot + '/tmpfiles; chmod 0755 ' + LinkNeoBoot + '/files/kernel.sh')