8.16
This commit is contained in:
@@ -429,10 +429,13 @@ class NeoBootInstallation(Screen):
|
|||||||
system(cmd2)
|
system(cmd2)
|
||||||
if os.path.isfile('' + LinkNeoBoot + '/.location'):
|
if os.path.isfile('' + LinkNeoBoot + '/.location'):
|
||||||
os.system('rm -f ' + 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 ')
|
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.write(self.mysel)
|
||||||
out.close()
|
out.close()
|
||||||
|
|
||||||
if os.path.isfile('%sImageBoot/.neonextboot' % getNeoLocation()):
|
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()) )
|
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()) ):
|
if os.path.isfile('%sImagesUpload/.kernel/zImage*.ipk or %sImagesUpload/.kernel/zImage*.bin' % ( getNeoLocation(),getNeoLocation()) ):
|
||||||
|
|||||||
Reference in New Issue
Block a user