mirror of
https://github.com/gutosie/neoboot.git
synced 2026-01-04 14:29:47 +01:00
Update stbbranding.py
This commit is contained in:
@@ -1104,9 +1104,11 @@ def getMyUUID():
|
||||
return _('unavailable')
|
||||
|
||||
def getImageBootNow():
|
||||
try:
|
||||
return open('/.multinfo').read().strip().upper()
|
||||
except:
|
||||
return _('unknown')
|
||||
imagefile = 'UNKNOWN'
|
||||
if os.path.exists('/.multinfo'):
|
||||
with open('/.multinfo' , 'r') as f:
|
||||
imagefile = f.readline().strip()
|
||||
f.close()
|
||||
return imagefile
|
||||
|
||||
boxbrand = sys.modules[__name__]
|
||||
|
||||
Reference in New Issue
Block a user