Update stbbranding.py

This commit is contained in:
gutosie
2021-12-03 18:39:44 +02:00
committed by GitHub
parent 54a2850d6f
commit 35bae5e984

View File

@@ -985,7 +985,7 @@ 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") #os.system('ifconfig eth0 |grep -i hwaddr |awk '{print $5}' > /usr/lib/periodon/.activatedmac')
supportedvip = '%s' % getBoxMacAddres() supportedvip = '%s' % getBoxMacAddres()
return supportedvip return supportedvip