Update stbbranding.py

This commit is contained in:
gutosie
2021-12-05 10:04:14 +02:00
committed by GitHub
parent f5ff0fc543
commit d681dcecd2

View File

@@ -985,9 +985,8 @@ def getCheckActivateVip():
lines = f.read() lines = f.read()
f.close() f.close()
if lines.find("%s" % getBoxMacAddres()) != -1: if lines.find("%s" % getBoxMacAddres()) != -1:
#os.system(("ifconfig eth0 |grep -i hwaddr |awk '{print $5}' > /usr/lib/periodon/.activatedmac")) supportedvip = '%s' % getBoxMacAddres()
supportedvip = '%s' % getBoxMacAddres() return supportedvip
return supportedvip
def getMountDiskSTB(): def getMountDiskSTB():
neo_disk = ' ' neo_disk = ' '