mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	shorten manufacturers
git-svn-id: http://www.observium.org/svn/observer/trunk@3234 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		| @@ -37,6 +37,10 @@ if ($device['os'] == "linux" || $device['os'] == "endian") | ||||
|     if ($agent_data['dmi']['system-product-name']) | ||||
|     { | ||||
|       $hardware = ($agent_data['dmi']['system-manufacturer'] ? $agent_data['dmi']['system-manufacturer'] . ' ' : '') . $agent_data['dmi']['system-product-name']; | ||||
|        | ||||
|       # Clean up "Dell Computer Corporation" and "Intel Corporation" | ||||
|       $hardware = str_replace(" Computer Corporation","",$hardware); | ||||
|       $hardware = str_replace(" Corporation","",$hardware); | ||||
|     } | ||||
|  | ||||
|     if ($agent_data['dmi']['system-serial-number']) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user