mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-22 00:09:39 +01:00
Update stbbranding.py
This commit is contained in:
@@ -1076,10 +1076,10 @@ def getExtCheckHddUsb():
|
|||||||
with open('/proc/mounts', 'r') as f:
|
with open('/proc/mounts', 'r') as f:
|
||||||
lines = f.read()
|
lines = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
if lines.find('/media/hdd ext3') != -1 or lines.find('/media/hdd type ext3') != -1 and os.path.exists('/media/hdd/ImageBoot'):
|
if lines.find('/media/hdd ext4') != -1 or lines.find('/media/hdd type ext4') != -1 and os.path.exists('/media/hdd/ImageBoot'):
|
||||||
neoExt = 'ext3'
|
neoExt = 'ext4'
|
||||||
if lines.find('/media/usb ext3') != -1 or lines.find('/media/usb type ext3') != -1 and os.path.exists('/media/usb/ImageBoot'):
|
if lines.find('/media/usb ext4') != -1 or lines.find('/media/usb type ext4') != -1 and os.path.exists('/media/usb/ImageBoot'):
|
||||||
neoExt = 'ext3'
|
neoExt = 'ext4'
|
||||||
return neoExt
|
return neoExt
|
||||||
|
|
||||||
def getNandWrite():
|
def getNandWrite():
|
||||||
|
|||||||
Reference in New Issue
Block a user