mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	* refactor: OS Discovery files D-H * Combine edgeswitch check * fix my typo * update to fix tests
		
			
				
	
	
		
			6 lines
		
	
	
		
			171 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			171 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
if (starts_with($sysObjectId, '.1.3.6.1.4.1.4413') && !str_contains($sysDescr, array('vxworks', 'Quanta', 'FASTPATH Switching'), true)) {
 | 
						|
    $os = 'edgeswitch';
 | 
						|
}
 |