mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-31 19:35:48 +01:00
Update stbbranding.py
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user