mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-11-03 20:55:47 +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')
 | 
					        os.system('echo "\n\nexit 0"  >> ' + LinkNeoBoot + '/files/mountpoint.sh')
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
def getBoxMacAddres():
 | 
					def getBoxMacAddres():
 | 
				
			||||||
    os.system('%s > /tmp/.mymac' % ("ifconfig "))          
 | 
					    os.system('%s > /tmp/.mymac' % ("ifconfig -a"))          
 | 
				
			||||||
    if fileExists('/tmp/.mymac'):
 | 
					    if fileExists('/tmp/.mymac'):
 | 
				
			||||||
                    f = open("/tmp/.mymac", 'r')
 | 
					                    f = open("/tmp/.mymac", 'r')
 | 
				
			||||||
                    myboxmac = f.readline().strip().replace("eth0      Link encap:Ethernet  HWaddr ", "")
 | 
					                    myboxmac = f.readline().strip().replace("eth0      Link encap:Ethernet  HWaddr ", "")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user