From b3ac2452ef81baf7e8a9ab595000304f23dca0a7 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 2 Feb 2022 14:26:46 +0200 Subject: [PATCH] Update stbbranding.py --- NeoBoot/files/stbbranding.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NeoBoot/files/stbbranding.py b/NeoBoot/files/stbbranding.py index e2287e1..60ba793 100644 --- a/NeoBoot/files/stbbranding.py +++ b/NeoBoot/files/stbbranding.py @@ -1076,11 +1076,11 @@ def getExtCheckHddUsb(): with open('/proc/mounts', 'r') as f: lines = f.read() f.close() - if lines.find('/media/hdd ext3') != -1 or lines.find('/media/hdd type ext3') != -1 and os.path.exists('/media/hdd/ImageBoot'): - neoExt = 'ext3' - if lines.find('/media/usb ext3') != -1 or lines.find('/media/usb type ext3') != -1 and os.path.exists('/media/usb/ImageBoot'): - neoExt = 'ext3' - return neoExt + if lines.find('/media/hdd ext4') != -1 or lines.find('/media/hdd type ext4') != -1 and os.path.exists('/media/hdd/ImageBoot'): + neoExt = 'ext4' + if lines.find('/media/usb ext4') != -1 or lines.find('/media/usb type ext4') != -1 and os.path.exists('/media/usb/ImageBoot'): + neoExt = 'ext4' + return neoExt def getNandWrite(): NandWrite = 'UNKNOWN'