mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 12:25:46 +01:00
Update stbbranding.py
This commit is contained in:
@@ -971,7 +971,7 @@ def getMountPointNeo2():
|
||||
os.system('echo "\n\nexit 0" >> ' + LinkNeoBoot + '/files/mountpoint.sh')
|
||||
|
||||
def getBoxMacAddres():
|
||||
os.system('%s > /tmp/.mymac' % ("ifconfig "))
|
||||
os.system('%s > /tmp/.mymac' % ("ifconfig -a"))
|
||||
if fileExists('/tmp/.mymac'):
|
||||
f = open("/tmp/.mymac", 'r')
|
||||
myboxmac = f.readline().strip().replace("eth0 Link encap:Ethernet HWaddr ", "")
|
||||
|
||||
Reference in New Issue
Block a user