mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-27 02:30:04 +01:00
Update stbbranding.py
This commit is contained in:
@@ -576,13 +576,14 @@ def getVuModel():
|
||||
procmodel = f.readline().strip()
|
||||
f.close()
|
||||
model = procmodel.title().replace("olose", "olo SE").replace(
|
||||
"olo2se", "olo2 SE").replace("2", "²")
|
||||
"olo2se", "olo2 SE").replace("2", "²")
|
||||
return model
|
||||
|
||||
except Exception:
|
||||
pass
|
||||
return "unknown"
|
||||
|
||||
|
||||
def getBoxHostName():
|
||||
try:
|
||||
if os.path.exists("/etc/hostname"):
|
||||
|
||||
Reference in New Issue
Block a user