This commit is contained in:
gutosie
2020-01-19 22:53:45 +02:00
committed by GitHub
parent c07d8afe12
commit b020d401ca

View File

@@ -429,10 +429,13 @@ class NeoBootInstallation(Screen):
system(cmd2)
if os.path.isfile('' + LinkNeoBoot + '/.location'):
os.system('rm -f ' + LinkNeoBoot + '/.location' )
system('blkid -c /dev/null /dev/sd* > ' + LinkNeoBoot + '/bin/reading_blkid; chmod 755 ' + LinkNeoBoot + '/bin/reading_blkid ')
out = open('' + LinkNeoBoot + '/.location', 'w')
out = open('/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location', 'w')
out.write(self.mysel)
out.close()
if os.path.isfile('%sImageBoot/.neonextboot' % getNeoLocation()):
os.system('rm -f /etc/neoimage; rm -f /etc/imageboot; rm -f %sImageBoot/.neonextboot; rm -f %sImageBoot/.version; rm -f %sImageBoot/.Flash; ' % (getNeoLocation(), getNeoLocation(), getNeoLocation()) )
if os.path.isfile('%sImagesUpload/.kernel/zImage*.ipk or %sImagesUpload/.kernel/zImage*.bin' % ( getNeoLocation(),getNeoLocation()) ):